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}