From 4f031b41141298829239a3733a08e220279d32a1 Mon Sep 17 00:00:00 2001 From: zhaoqiaobo <583671871@qq.com> Date: Wed, 15 Jan 2025 14:20:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=20=E9=87=91=E7=89=8C=E5=B7=A5?= =?UTF-8?q?=E5=8E=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 优化金牌暂存单逻辑 --- .../jinpai/service/impl/DeliveryNoteServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);