syh 4 rokov pred
rodič
commit
a92f05c98b

+ 2 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/model/DepartIdModel.java

@@ -34,6 +34,7 @@ public class DepartIdModel implements Serializable {
      * 部门名称
      */
     private String title;
+    private String orgCode;
 
     List<DepartIdModel> children = new ArrayList<>();
 
@@ -46,6 +47,7 @@ public class DepartIdModel implements Serializable {
         this.key = treeModel.getId();
         this.value = treeModel.getId();
         this.title = treeModel.getDepartName();
+        this.orgCode = treeModel.getOrgCode();
         return this;
     }