From 26872a42f3c6fcf07a41bf8005a785a65b5fd42a Mon Sep 17 00:00:00 2001 From: lulz1 Date: Thu, 4 Jul 2024 15:39:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BF=AE=E5=A4=8D=E7=BB=86=E8=8A=82?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/chint/domain/aggregates/order/Leg.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/chint/domain/aggregates/order/Leg.java b/src/main/java/com/chint/domain/aggregates/order/Leg.java index 53541204..23120d37 100644 --- a/src/main/java/com/chint/domain/aggregates/order/Leg.java +++ b/src/main/java/com/chint/domain/aggregates/order/Leg.java @@ -154,6 +154,9 @@ public class Leg implements Serializable, EventManageable { return false; } if (this.legExtensionField != null) { + if (this.legExtensionField.getLocationList() == null) { + return true; + } for (Location location : this.legExtensionField.getLocationList()) { if (!location.isInternal()) { return false;