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

codelist拉平上下级

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