From 76610b14fb90864cd73ea63e1f37113ae4f2e69a 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: Mon, 20 Oct 2025 16:17:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E4=BB=A3=E7=A0=81=E4=B8=BA"D1"=E5=BD=93=E6=A0=88?= =?UTF-8?q?=E6=9D=BF=E4=BD=8D=E7=BD=AE=E4=BF=A1=E6=81=AF=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WcsIntegrationServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 0a10829..18d0b7e 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 @@ -1986,7 +1986,9 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { // 获取栈板信息(包含pallet_type表关联数据)- rqrq com.gaotao.modules.warehouse.entity.PalletData palletInfo = wcsIntegrationMapper.getPalletInfoWithTypeDetails(site, palletId); String locationCode = palletInfo.getLocationCode(); - + if(locationCode == null||locationCode.isEmpty()){ + locationCode="D1"; + } // 从pallet表关联pallet_type获取WCS相关字段 - rqrq Integer wcsPalletType = palletInfo.getWcsPalletType() != null ? palletInfo.getWcsPalletType() : 1; Integer wcsBasePalletType = palletInfo.getWcsBasePalletType() != null ? palletInfo.getWcsBasePalletType() : 1;