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 1d12db3..2b514dd 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 @@ -272,11 +272,11 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { // maxLayer > 0:有层数托盘(9宫格、4宫格等) // 每个位置每层只能放一个东西 - // 检查该位置该层是否已有东西 - List> existingDetails = wcsIntegrationMapper.getPalletDetails(site, palletId, position, layer); - if (!existingDetails.isEmpty()) { - throw new Exception("该位置第" + layer + "层已有物料,每层只能放一个物料"); - } + // 检查该位置该层是否已有东西 暂时注掉 + // List> existingDetails = wcsIntegrationMapper.getPalletDetails(site, palletId, position, layer); + // if (!existingDetails.isEmpty()) { + // throw new Exception("该位置第" + layer + "层已有物料,每层只能放一个物料"); + // } } else { // maxLayer = 0:混装托盘 // 只能选第1层,但可以放多个东西