|
@@ -2837,10 +2837,10 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
}
|
|
|
|
|
|
//处理重复的数据
|
|
|
-// selectedNodeList = selectedNodeList.stream().collect(Collectors.collectingAndThen(
|
|
|
-// Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(WbsTreePrivate::getId))),
|
|
|
-// ArrayList::new
|
|
|
-// ));
|
|
|
+ selectedNodeList = selectedNodeList.stream().collect(Collectors.collectingAndThen(
|
|
|
+ Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(WbsTreePrivate::getId))),
|
|
|
+ ArrayList::new
|
|
|
+ ));
|
|
|
}
|
|
|
//处理半选
|
|
|
this.disposeHalfSelectList(treeContract, halfSelectedNodeList, selectedNodeList, query);
|
|
@@ -2867,10 +2867,10 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
}
|
|
|
|
|
|
//处理重复的数据
|
|
|
-// selectedNodeList = selectedNodeList.stream().collect(Collectors.collectingAndThen(
|
|
|
-// Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(WbsTreePrivate::getId))),
|
|
|
-// ArrayList::new
|
|
|
-// ));
|
|
|
+ selectedNodeList = selectedNodeList.stream().collect(Collectors.collectingAndThen(
|
|
|
+ Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(WbsTreePrivate::getId))),
|
|
|
+ ArrayList::new
|
|
|
+ ));
|
|
|
}
|
|
|
}
|
|
|
|