修复行程规划单,无法匹配机场订单的问题
This commit is contained in:
parent
9629a8ffea
commit
4dd6b38fe5
|
@ -423,10 +423,12 @@ public class RouteOrder implements Serializable {
|
|||
Long orderDetailDestinationId = orderDetail.getDestinationId();
|
||||
return leg.getLegType().equals(orderDetail.getProductType()) &&
|
||||
(originLocation.getLocationId().equals(orderDetailOriginId) ||
|
||||
originLocation.getParentLocationId().equals(orderDetailOriginId))
|
||||
originLocation.getParentLocationId().equals(orderDetailOriginId) ||
|
||||
originLocation.getLocationPath().contains(String.valueOf(orderDetailOriginId)))
|
||||
&&
|
||||
(destinationLocation.getLocationId().equals(orderDetailDestinationId) ||
|
||||
destinationLocation.getParentLocationId().equals(orderDetailDestinationId));
|
||||
destinationLocation.getParentLocationId().equals(orderDetailDestinationId) ||
|
||||
destinationLocation.getLocationPath().contains(String.valueOf(orderDetailDestinationId)));
|
||||
})
|
||||
.toList();
|
||||
|
||||
|
|
Loading…
Reference in New Issue