diff --git a/src/main/java/com/chint/domain/service/LegDomainService.java b/src/main/java/com/chint/domain/service/LegDomainService.java index 015a3927..0d51e42e 100644 --- a/src/main/java/com/chint/domain/service/LegDomainService.java +++ b/src/main/java/com/chint/domain/service/LegDomainService.java @@ -165,12 +165,12 @@ public class LegDomainService { List 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);