Commit 7ff3b5b5 authored by H2T's avatar H2T

补充提交

parent 7d9c787c
...@@ -560,7 +560,7 @@ public class RouteServiceImpl extends ServiceImpl<RouteMapper, Route> implement ...@@ -560,7 +560,7 @@ public class RouteServiceImpl extends ServiceImpl<RouteMapper, Route> implement
if (oldRoutePointList != null && oldRoutePointList.size() > 0) { if (oldRoutePointList != null && oldRoutePointList.size() > 0) {
RoutePoint RoutePoint = oldRoutePointList.get(0); RoutePoint RoutePoint = oldRoutePointList.get(0);
if (!"".equals(RoutePoint.getExcludeItems()) && RoutePoint.getExcludeItems() != null){ // if (!"".equals(RoutePoint.getExcludeItems()) && RoutePoint.getExcludeItems() != null){
// List<Long> split = Arrays.asList(RoutePoint.getExcludeItems().split(",")).stream().map(Long::parseLong).collect(Collectors.toList()); // List<Long> split = Arrays.asList(RoutePoint.getExcludeItems().split(",")).stream().map(Long::parseLong).collect(Collectors.toList());
// //
// Set<Long> allPointInputItemIdSet = iPointInputItemDao.getPointInputItemByPointIdAndClassifyId(pointId, classifyId) // Set<Long> allPointInputItemIdSet = iPointInputItemDao.getPointInputItemByPointIdAndClassifyId(pointId, classifyId)
...@@ -574,7 +574,7 @@ public class RouteServiceImpl extends ServiceImpl<RouteMapper, Route> implement ...@@ -574,7 +574,7 @@ public class RouteServiceImpl extends ServiceImpl<RouteMapper, Route> implement
// }); // });
// List<Long> lastList = Stream.concat(otherClassify.stream(), inputItemIds.stream()).distinct().collect(Collectors.toList()); // List<Long> lastList = Stream.concat(otherClassify.stream(), inputItemIds.stream()).distinct().collect(Collectors.toList());
RoutePoint.setExcludeItems(StringUtils.join(inputItemIds, ",")); RoutePoint.setExcludeItems(StringUtils.join(inputItemIds, ","));
} // }
// else { // else {
// RoutePoint.setExcludeItems(StringUtils.join(inputItemIds.toArray(),",")); // RoutePoint.setExcludeItems(StringUtils.join(inputItemIds.toArray(),","));
// } // }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment