修改查询已同步行程节点的接口查询逻辑
This commit is contained in:
parent
d727db4da5
commit
7c76883246
|
@ -165,12 +165,12 @@ public class LegDomainService {
|
|||
|
||||
List<Long> sameSyncSupplierLegIds = routeOrder.getRouteRequestList()
|
||||
.stream()
|
||||
.filter(it->it.getSupplier().equals(supplierName))
|
||||
.filter(it->!it.getSupplier().equals(supplierName))
|
||||
.flatMap(it -> it.getRouteRequestLegList().stream().map(RouteRequestLeg::getLegId))
|
||||
.toList();
|
||||
|
||||
legItems = legItems.stream()
|
||||
.filter(it -> sameSyncSupplierLegIds.contains(it.getLegId()))
|
||||
.filter(it -> !sameSyncSupplierLegIds.contains(it.getLegId()))
|
||||
.toList();
|
||||
|
||||
legItems.forEach(Leg::reloadStatus);
|
||||
|
|
Loading…
Reference in New Issue