diff --git a/src/main/java/com/chint/domain/service/RouteRequestDomainService.java b/src/main/java/com/chint/domain/service/RouteRequestDomainService.java index 689cd4e8..39b59076 100644 --- a/src/main/java/com/chint/domain/service/RouteRequestDomainService.java +++ b/src/main/java/com/chint/domain/service/RouteRequestDomainService.java @@ -125,7 +125,8 @@ public class RouteRequestDomainService { Map> collect = legs .stream() - .collect(Collectors.partitioningBy(leg -> leg.reloadStatus().getLegStatus().equals(LEG_STATUS_ORDERED))); + .collect(Collectors.partitioningBy(leg -> leg.reloadStatus().getLegStatus().equals(LEG_STATUS_ORDERED) + && leg.getLegType().equals(LEG_TYPE_AIRPLANE))); List orderedLegs = collect.get(true); if (!orderedLegs.isEmpty()) { it.reloadGenerateRequestLegs(orderedLegs);