From 751b34cf77c8626f5289a64d7994eed3f3a5da56 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, 2 Oct 2025 15:10:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B9=90=E8=A7=82=E9=94=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WcsIntegrationServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 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层,但可以放多个东西