提交 b64341eb 编写于 作者: sq3536's avatar sq3536

codelist拉平上下级

上级 808e8af8
...@@ -87,9 +87,9 @@ public class DictCoreService ...@@ -87,9 +87,9 @@ public class DictCoreService
); );
}); });
List<CodeItem> codeItemTreeList = new ArrayList<CodeItem>(); // List<CodeItem> codeItemTreeList = new ArrayList<CodeItem>();
codeItemTreeList = loopCodeItem(list, ""); // codeItemTreeList = loopCodeItem(list, "");
catalog.setOptions(codeItemTreeList); catalog.setOptions(list);
return catalog; return catalog;
} }
......
...@@ -23,14 +23,14 @@ public class CodeItem ...@@ -23,14 +23,14 @@ public class CodeItem
private String id; private String id;
private Object value; private Object value;
private String label; private String label;
@JSONField(name = "items") @JsonIgnore
@JsonProperty("items") @JSONField(serialize = false)
private List<CodeItem> children; private List<CodeItem> children;
private String iconClass; private String iconClass;
private String filter; private String filter;
private Boolean disabled; private Boolean disabled;
@JsonIgnore @JSONField(name = "pvalue")
@JSONField(serialize = false) @JsonProperty("pvalue")
private String parent; private String parent;
private Map<String,Object> extension; private Map<String,Object> extension;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册