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()); } // 开始遍历出库计划子项