Commit 281a0187 authored by 邢磊's avatar 邢磊

*)修改逻辑

parent 49b4d153
......@@ -380,10 +380,8 @@ public class DPSubServiceImpl {
JSONObject param = tab.getJSONObject("param");
jsonObject.put("type", "text");
jsonObject.put("value", value);
if (!ValidationUtil.isEmpty(paramFieldKeys)){
if (((JSONArray) paramFieldKeys).contains(fieldKey)){
if (!ValidationUtil.isEmpty(paramFieldKeys) && ((JSONArray) paramFieldKeys).contains(fieldKey)){
jsonObject.put("value", param.getString(fieldKey));
}
} else {
if ("upload".equals(xObj.getString("componentKey"))) {
jsonObject.put("type", "img");
......
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