|
|
@@ -120,7 +120,7 @@ public class EdsTreeCount {
|
|
|
public EdsTreeCount(String collectTargetId, EdsTree dirTree, Integer totalNum, Integer delNum) {
|
|
|
this.collectTargetId = collectTargetId;
|
|
|
this.dtId = dirTree.getId();
|
|
|
- this.parentId = dirTree.getParentId();
|
|
|
+ this.parentId = dirTree.getPid();
|
|
|
this.totalNum = totalNum == null ? 0 : totalNum;
|
|
|
this.delNum = delNum == null ? 0 : delNum;
|
|
|
}
|
|
|
@@ -128,7 +128,7 @@ public class EdsTreeCount {
|
|
|
public EdsTreeCount(String collectTargetId, EdsTree dirTree, Integer totalNum, Integer delNum, String appType, String account) {
|
|
|
this.collectTargetId = collectTargetId;
|
|
|
this.dtId = dirTree.getId();
|
|
|
- this.parentId = dirTree.getParentId();
|
|
|
+ this.parentId = dirTree.getPid();
|
|
|
this.totalNum = totalNum == null ? 0 : totalNum;
|
|
|
this.delNum = delNum == null ? 0 : delNum;
|
|
|
this.appType = appType;
|
|
|
@@ -137,8 +137,8 @@ public class EdsTreeCount {
|
|
|
|
|
|
public EdsTreeCount(EdsTree dirTree, Long totalNum, Long delNum, String appType, String appTypeName, String account) {
|
|
|
this.dtId = dirTree.getId();
|
|
|
- this.parentId = dirTree.getParentId();
|
|
|
- this.fullName = dirTree.getFullName();
|
|
|
+ this.parentId = dirTree.getPid();
|
|
|
+ this.fullName = dirTree.getName();
|
|
|
this.treeLevel = dirTree.getTreeLevel();
|
|
|
this.sort = dirTree.getSort();
|
|
|
this.totalNum = totalNum == null ? 0 : Math.toIntExact(totalNum);
|