根结点树,增加部门节点数据

This commit is contained in:
dxfeng 2024-08-05 14:56:25 +08:00
parent 51d34bd496
commit ad9e80e1e8
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,7 @@ public class CompanyTreePO {
private boolean isLeaf;
private String key;
private boolean disabled;
private String type;
public boolean getIsLeaf() {
return isLeaf;
@ -38,4 +39,11 @@ public class CompanyTreePO {
public String getValue() {
return id;
}
public String getType() {
if(id.startsWith("d")){
return "2";
}
return "1";
}
}