fix(events): allow container nodes before ocean booking
This commit is contained in:
+4
-2
@@ -31,8 +31,10 @@ public record FirstLegContainerShippingNodeRecordedV1(
|
||||
if (queryId != null && queryId.isBlank()) {
|
||||
throw new IllegalArgumentException("船节点跟踪任务标识不能为空字符串");
|
||||
}
|
||||
if (oceanBookingId == null || oceanBookingId.isBlank()
|
||||
|| containerBookingId == null || containerBookingId.isBlank()
|
||||
if (oceanBookingId != null && oceanBookingId.isBlank()) {
|
||||
throw new IllegalArgumentException("船节点订舱标识不能为空字符串");
|
||||
}
|
||||
if (containerBookingId == null || containerBookingId.isBlank()
|
||||
|| containerNo == null || containerNo.isBlank()) {
|
||||
throw new IllegalArgumentException("船节点交接业务标识不能为空");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user