fix(出库计划): 修复

This commit is contained in:
Kelvin 2024-11-26 09:12:50 +08:00
parent b3a3787b0f
commit 01185c654a

View File

@ -154,7 +154,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
// 更新出库计划明细 // 更新出库计划明细
this.wmsOutPlanMapper.updateWmsOutPlanDetailRealQuantityAndDetailStateByWmsOutPlanDetailId( this.wmsOutPlanMapper.updateWmsOutPlanDetailRealQuantityAndDetailStateByWmsOutPlanDetailId(
baseKnifeList.size(), wmsOutPlanDetail.getPlannedQuantity(),
"1", "1",
wmsOutPlanDetail.getWmsOutPlanDetailId() wmsOutPlanDetail.getWmsOutPlanDetailId()
); );
@ -191,7 +191,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
wmsOutTask.setWmsBusinessTypeId(wmsOutPlan.getWmsBusinessTypeId()); wmsOutTask.setWmsBusinessTypeId(wmsOutPlan.getWmsBusinessTypeId());
wmsOutTask.setTaskCode(new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date())); wmsOutTask.setTaskCode(new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date()));
wmsOutTask.setTaskNumber(wmsOutPlanDetail.getPlannedQuantity()); wmsOutTask.setTaskNumber(wmsOutPlanDetail.getPlannedQuantity());
wmsOutTask.setOutNumber(baseKnifeList.size()); wmsOutTask.setOutNumber(wmsOutPlanDetail.getPlannedQuantity());
wmsOutTask.setWmStorageAreaId(wmsOutPlanDetail.getWmStorageAreaId()); wmsOutTask.setWmStorageAreaId(wmsOutPlanDetail.getWmStorageAreaId());
wmsOutTask.setBatchNum(wmsOutPlanDetail.getDetailBatchNum()); wmsOutTask.setBatchNum(wmsOutPlanDetail.getDetailBatchNum());
wmsOutTask.setMdItemId(wmsOutPlanDetail.getMdItemId()); wmsOutTask.setMdItemId(wmsOutPlanDetail.getMdItemId());