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