Browse Source

工作日志添加type key

feature/yujt_vim
songyunpeng 5 years ago
parent
commit
5e0653c726
  1. 2
      epdc-cloud-admin/src/main/java/com/elink/esua/epdc/service/impl/SysDeptServiceImpl.java

2
epdc-cloud-admin/src/main/java/com/elink/esua/epdc/service/impl/SysDeptServiceImpl.java

@ -449,6 +449,7 @@ public class SysDeptServiceImpl extends BaseServiceImpl<SysDeptDao, SysDeptEntit
node = new JSONObject();
node.put("label", headDepts.get(i).getName());
node.put("typeKey", headDepts.get(i).getTypeKey());
node.put("value", String.valueOf(deptId));
parentNodeArray.add(node);
}
@ -520,6 +521,7 @@ public class SysDeptServiceImpl extends BaseServiceImpl<SysDeptDao, SysDeptEntit
if (nodeParent.get("value").equals(String.valueOf(childDepts.get(j).getPid()))) {
nodeChild = new JSONObject();
nodeChild.put("label", childDepts.get(j).getName());
nodeChild.put("typeKey", childDepts.get(j).getTypeKey());
nodeChild.put("value", String.valueOf(deptId));
childrenNodeList.add(nodeChild);

Loading…
Cancel
Save