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 1c4e070..c524773 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 @@ -2086,7 +2086,10 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { String palletId = (String) params.get("palletId"); String transportFlag = (String) params.get("transportFlag"); Integer count= (Integer) params.get("count"); - + boolean hasPalletDetail = checkPalletHasDetail(site, palletId); + if(hasPalletDetail){ + throw new RuntimeException("栈板上存在标签,不是空托盘!"); + } // 参数校验 - rqrq if (!StringUtils.hasText(site)) { throw new RuntimeException("工厂编码不能为空");