|
@@ -74,8 +74,20 @@ public class WbsTreeContractServiceImpl
|
|
|
|
|
|
}
|
|
|
|
|
|
+
|
|
|
List<String> diffRent = getDiffrent(idList1, collect7);
|
|
|
|
|
|
+ List<String> diffRentAll = getDiffrent(idList1, collect1);
|
|
|
+
|
|
|
+ System.out.println("list: " + list);
|
|
|
+ System.out.println("idList1: " + idList1);
|
|
|
+ System.out.println("col1: " + collect1);
|
|
|
+ System.out.println("col3: " + collect3);
|
|
|
+ System.out.println("col7: " + collect7);
|
|
|
+ System.out.println("diffRent: " + diffRent);
|
|
|
+ System.out.println("diffRentAll: " + diffRentAll);
|
|
|
+
|
|
|
+
|
|
|
//同步元素表
|
|
|
if (diffRent.size() == 0) {
|
|
|
//获取私有wbs树下所有元素表
|
|
@@ -110,7 +122,7 @@ public class WbsTreeContractServiceImpl
|
|
|
} else {
|
|
|
//新增
|
|
|
|
|
|
- if (idList1.size() > collect1.size()) {
|
|
|
+ if (idList1.size() > collect7.size()) {
|
|
|
List<WbsTreeContract> wbsTreeContractList = new ArrayList<>();
|
|
|
|
|
|
List<List<WbsTreePrivate>> wbsTreePrivatesList = new ArrayList<>();
|