From 68e6158ab0c6db4ed5f189953ef4eb5f717885e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=90=8D=E5=96=9C?= Date: Fri, 13 Dec 2024 16:50:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java index d1924d2..b3e7349 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsOutPlanServiceImpl.java @@ -367,7 +367,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService { // 校验库中数量是否足够 if (baseKnifeList.size() < wmsOutPlanDetail.getPlannedQuantity()) { - throw new RuntimeException("库存数量不足以支持本次出库物料:" + ap0AE.getAE015()); + throw new RuntimeException("AE库存数量不足以支持本次出库物料:" + ap0AE.getAE015() + ",库内" + baseKnifeList.size() + ",需要" + wmsOutPlanDetail.getPlannedQuantity()); } // 开始遍历出库计划子项 @@ -483,7 +483,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService { // 校验库中数量是否足够 if (baseKnifeList.size() < wmsOutPlanDetail.getPlannedQuantity()) { - throw new RuntimeException("库存数量不足以支持本次出库物料:" + inventoryAdjustment.getProductName()); + throw new RuntimeException("AD库存数量不足以支持本次出库物料:" + inventoryAdjustment.getProductName() + ",库内" + baseKnifeList.size() + ",需要" + wmsOutPlanDetail.getPlannedQuantity()); } // 开始遍历出库计划子项