|
|
|
@ -82,7 +82,7 @@ public class ExtServiceImpl extends Service implements ExtService {
|
|
|
|
|
item.setViewAttr(1);
|
|
|
|
|
} else if (1 == extendInfoPO.getIsrequired()) {
|
|
|
|
|
item.setViewAttr(3);
|
|
|
|
|
item.setRules("required|string");
|
|
|
|
|
item.setRules("required");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
conditionItems.add(item);
|
|
|
|
@ -194,6 +194,10 @@ public class ExtServiceImpl extends Service implements ExtService {
|
|
|
|
|
if ("int".equals(extendInfoPO.getFieldType()) && StringUtils.isEmpty((String) value)) {
|
|
|
|
|
value = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ("text".equals(extendInfoPO.getFieldType()) && null == value) {
|
|
|
|
|
value = "";
|
|
|
|
|
}
|
|
|
|
|
map.put(key, value);
|
|
|
|
|
}
|
|
|
|
|
if (null != id) {
|
|
|
|
|