|
|
|
@ -427,6 +427,7 @@ public class PowerServiceImpl implements PowerService {
|
|
|
|
|
BeanUtils.copyProperties(powerSys,tree2);
|
|
|
|
|
tree2.setId(id);
|
|
|
|
|
twoLevelId = id;
|
|
|
|
|
id++;
|
|
|
|
|
tree2.setParentId(oneLevelId);
|
|
|
|
|
tree2.setSysFlag(powerSys.getSysFlag());
|
|
|
|
|
boolean isParent = false;
|
|
|
|
@ -455,7 +456,6 @@ public class PowerServiceImpl implements PowerService {
|
|
|
|
|
}
|
|
|
|
|
tree2.setIsParent(isParent);
|
|
|
|
|
treeList.add(tree2);
|
|
|
|
|
id++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -480,6 +480,7 @@ public class PowerServiceImpl implements PowerService {
|
|
|
|
|
BeanUtils.copyProperties(sys,tree5);
|
|
|
|
|
tree5.setId(id);
|
|
|
|
|
threeLevelId = id;
|
|
|
|
|
id++;
|
|
|
|
|
tree5.setParentId(twoLevelId);
|
|
|
|
|
tree5.setSysFlag(sys.getSysFlag());
|
|
|
|
|
boolean isParent = false;
|
|
|
|
@ -536,7 +537,6 @@ public class PowerServiceImpl implements PowerService {
|
|
|
|
|
}
|
|
|
|
|
tree5.setIsParent(isParent);
|
|
|
|
|
treeList.add(tree5);
|
|
|
|
|
id++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|