根结点树,增加部门节点数据
This commit is contained in:
parent
51d34bd496
commit
ad9e80e1e8
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue