Commit d57feb91 by fukai

去除true 自动转X的字段赋值

parent 6a758e69
......@@ -94,11 +94,11 @@ public class NoUiPresentationUtil {
Class<?> dataType = dataField.getDataType();
if (dataType.equals(String.class)) {
String valStr = value.toString();
if ("true".equalsIgnoreCase(valStr.trim()))
dataField.setValue("X");
else if ("false".equalsIgnoreCase(valStr.trim()))
dataField.setValue("");
else
// if ("true".equalsIgnoreCase(valStr.trim()))
// dataField.setValue("X");
// else if ("false".equalsIgnoreCase(valStr.trim()))
// dataField.setValue("");
// else
dataField.setValue(valStr);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment