From e0a902a579c5191c73bc2c7344a419a40a0bc1a9 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Tue, 26 Nov 2024 09:13:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=87=BA=E5=BA=93=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= 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 a09d50d..29bf989 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 @@ -154,7 +154,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService { // 更新出库计划明细 this.wmsOutPlanMapper.updateWmsOutPlanDetailRealQuantityAndDetailStateByWmsOutPlanDetailId( - baseKnifeList.size(), + wmsOutPlanDetail.getPlannedQuantity(), "1", wmsOutPlanDetail.getWmsOutPlanDetailId() ); @@ -191,7 +191,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService { wmsOutTask.setWmsBusinessTypeId(wmsOutPlan.getWmsBusinessTypeId()); wmsOutTask.setTaskCode(new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date())); wmsOutTask.setTaskNumber(wmsOutPlanDetail.getPlannedQuantity()); - wmsOutTask.setOutNumber(baseKnifeList.size()); + wmsOutTask.setOutNumber(wmsOutPlanDetail.getPlannedQuantity()); wmsOutTask.setWmStorageAreaId(wmsOutPlanDetail.getWmStorageAreaId()); wmsOutTask.setBatchNum(wmsOutPlanDetail.getDetailBatchNum()); wmsOutTask.setMdItemId(wmsOutPlanDetail.getMdItemId());