diff --git a/blade-service/logpm-factory-data/logpm-factory-data-jinpai/src/main/java/com/logpm/factorydata/jinpai/service/impl/DeliveryNoteServiceImpl.java b/blade-service/logpm-factory-data/logpm-factory-data-jinpai/src/main/java/com/logpm/factorydata/jinpai/service/impl/DeliveryNoteServiceImpl.java index 0e43375f4..da9d8851b 100644 --- a/blade-service/logpm-factory-data/logpm-factory-data-jinpai/src/main/java/com/logpm/factorydata/jinpai/service/impl/DeliveryNoteServiceImpl.java +++ b/blade-service/logpm-factory-data/logpm-factory-data-jinpai/src/main/java/com/logpm/factorydata/jinpai/service/impl/DeliveryNoteServiceImpl.java @@ -190,7 +190,7 @@ public class DeliveryNoteServiceImpl extends BaseServiceImpl packageList = new ArrayList<>(); TrunklineAdvanceEntity advanceEntity = new TrunklineAdvanceEntity(); - List boxCodes = orderInfoVO.getBoxCodes(); + List boxCodes = ObjectUtil.isNotEmpty(orderInfoVO.getBoxCodes()) ? orderInfoVO.getBoxCodes() : new ArrayList<>(); advanceEntity.setTenantId(tenantId); advanceEntity.setStatus(0); advanceEntity.setIsDeleted(0);