From 5959e1fddc21ef6b6560db9c742d66d5bb598b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 5 Nov 2025 13:48:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WcsIntegrationServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java b/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java index 4da5ce0..2107b14 100644 --- a/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java +++ b/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java @@ -1113,6 +1113,9 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { }else { saveVo.setPartType(PartTypeEnum.fromCode(2)); } + if(groupHUs.get(i).getQty()==null){ + throw new RuntimeException("标签不存在:"+groupHUs.get(i).getSerialNo()); + } saveVo.setQty(groupHUs.get(i).getQty()); saveVo.setManufactureDate(groupHUs.get(i).getManufactureDateStr()); Integer umId;