From 07503ce51463318dde1dcb97f41b2a9cc2da79e8 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: Thu, 27 Nov 2025 14:10:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BEcall=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WcsIntegrationServiceImpl.java | 2 +- .../mapper/automatedWarehouse/WcsIntegrationMapper.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 99ba1b3..c4498d5 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 @@ -440,7 +440,7 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { String labelWarehouseId = (String) labelInfo.get("warehouseId"); String labelLocationId = (String) labelInfo.get("locationId"); if (!"Y".equals(inStockFlag)) { - throw new Exception("标签不在库状态"); + throw new Exception("标签不在库状态:in_stock_flag不为Y"); } // 获取栈板当前所在站点 diff --git a/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml b/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml index a61964b..427b75d 100644 --- a/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml +++ b/src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml @@ -41,7 +41,6 @@ AND (c.calling_flag IS NULL OR c.calling_flag != 'Y') AND a.site = #{site} AND (b.reserve_flag IS NULL OR b.reserve_flag != 'Y') - AND b.in_stock_flag = 'Y' AND c.wcs_location IS NOT NULL AND b.warehouse_id = #{warehouseId}