【fix sonar】LinkDownProperty文件
This commit is contained in:
+3
-2
@@ -1,5 +1,6 @@
|
||||
package com.jero.common.util.jsonschema.validate;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.jero.common.util.jsonschema.BaseColumn;
|
||||
import com.jero.common.util.jsonschema.CommonProperty;
|
||||
@@ -21,7 +22,7 @@ public class LinkDownProperty extends CommonProperty {
|
||||
/**
|
||||
* 级联下拉组件 的其他级联列
|
||||
*/
|
||||
List<BaseColumn> otherColumns;
|
||||
transient List<BaseColumn> otherColumns;
|
||||
|
||||
public String getDictTable(){
|
||||
return this.dictTable;
|
||||
@@ -57,7 +58,7 @@ public class LinkDownProperty extends CommonProperty {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("key", getKey());
|
||||
JSONObject prop = getCommonJson();
|
||||
JSONObject temp = JSONObject.parseObject(this.dictTable);
|
||||
JSONObject temp = JSON.parseObject(this.dictTable);
|
||||
prop.put("config", temp);
|
||||
prop.put("others", otherColumns);
|
||||
map.put("prop", prop);
|
||||
|
||||
Reference in New Issue
Block a user