diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/controller/BaseKnifeController.java b/ktg-mes/src/main/java/com/ktg/mes/md/controller/BaseKnifeController.java index 0e9345f..c2b34d7 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/controller/BaseKnifeController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/controller/BaseKnifeController.java @@ -1102,12 +1102,12 @@ public class BaseKnifeController extends BaseController { wmsInPlanDetail.setQuantityIn(zdTask.getProductIdQty().toString()); wmsInPlanDetail.setPlanInStatus("0"); wmsInPlanDetailList.add(wmsInPlanDetail); - wmsInPlanTemp.setWmsInPlanDetailsList(wmsInPlanDetailList); + wmsInPlanTemp.setWmsInPlanDetailList(wmsInPlanDetailList); wmsInPlanService.insertWmsInPlan(wmsInPlanTemp); wmsInPlan = wmsInPlanTemp; } else { // 入库任务明细 - List wmsInPlanDetailList = wmsInPlan.getWmsInPlanDetailsList(); + List wmsInPlanDetailList = wmsInPlan.getWmsInPlanDetailList(); WmsInPlanDetail wmsInPlanDetail = new WmsInPlanDetail(); wmsInPlanDetail.setMaterialId(zdTask.getmProductId().toString()); wmsInPlanDetail.setBatch(batchNum); @@ -1116,7 +1116,7 @@ public class BaseKnifeController extends BaseController { wmsInPlanDetail.setQuantityIn(zdTask.getProductIdQty().toString()); wmsInPlanDetail.setPlanInStatus("0"); wmsInPlanDetailList.add(wmsInPlanDetail); - wmsInPlan.setWmsInPlanDetailsList(wmsInPlanDetailList); + wmsInPlan.setWmsInPlanDetailList(wmsInPlanDetailList); wmsInPlanService.updateWmsInPlan(wmsInPlan); } diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanDetailEntityServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanDetailEntityServiceImpl.java index 5dabc3c..ef22c43 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanDetailEntityServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanDetailEntityServiceImpl.java @@ -70,7 +70,7 @@ public class WmsInPlanDetailEntityServiceImpl implements IWmsInPlanDetailEntityS // 获取入库计划 WmsBusinessType wmsBusinessType = wmsBusinessTypeMapper.selectWmsBusinessTypeByTypeId(wmsInPlan.getPlanTypeId().toString()); - for (WmsInPlanDetail detail : wmsInPlan.getWmsInPlanDetailsList()) { + for (WmsInPlanDetail detail : wmsInPlan.getWmsInPlanDetailList()) { // 匹配入库明细 if (detail.getDetailsId().equals(entity.getPlanDetailsId())) { System.out.println("---" + detail.getDetailsId() + "+测试+" + entity.getPlanDetailsId()); diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsZdTaskServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsZdTaskServiceImpl.java index 775ae97..f5b4b2b 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsZdTaskServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsZdTaskServiceImpl.java @@ -441,12 +441,12 @@ public class WmsZdTaskServiceImpl implements IWmsZdTaskService }); wmsInPlanDetail.setWmsInPlanDetailEntityList(wmsInPlanDetailEntityList); wmsInPlanDetailList.add(wmsInPlanDetail); - wmsInPlanTemp.setWmsInPlanDetailsList(wmsInPlanDetailList); + wmsInPlanTemp.setWmsInPlanDetailList(wmsInPlanDetailList); wmsInPlanService.insertWmsInPlan(wmsInPlanTemp); wmsInPlan = wmsInPlanTemp; } else { // 入库任务明细 - List wmsInPlanDetailList = wmsInPlan.getWmsInPlanDetailsList(); + List wmsInPlanDetailList = wmsInPlan.getWmsInPlanDetailList(); WmsInPlanDetail wmsInPlanDetail = new WmsInPlanDetail(); wmsInPlanDetail.setMaterialId(zdTask.getmProductId().toString()); wmsInPlanDetail.setBatch(batchNum); @@ -455,7 +455,7 @@ public class WmsZdTaskServiceImpl implements IWmsZdTaskService wmsInPlanDetail.setQuantityIn(zdTask.getProductIdQty().toString()); wmsInPlanDetail.setPlanInStatus("0"); wmsInPlanDetailList.add(wmsInPlanDetail); - wmsInPlan.setWmsInPlanDetailsList(wmsInPlanDetailList); + wmsInPlan.setWmsInPlanDetailList(wmsInPlanDetailList); wmsInPlanService.updateWmsInPlan(wmsInPlan); } @@ -479,7 +479,7 @@ public class WmsZdTaskServiceImpl implements IWmsZdTaskService wmsInTask.setPlanTypeId("9"); wmsInTask.setPlanTypeCode("ZDHK"); wmsInTask.setPlanInStatus("0"); - wmsInTask.setDetailInId(inPlanTemp.getWmsInPlanDetailsList().get(0).getDetailsId()); + wmsInTask.setDetailInId(inPlanTemp.getWmsInPlanDetailList().get(0).getDetailsId()); wmsInTask.setCreateBy(getUsername()); wmsInTask.setCreateTime(DateUtils.getNowDate()); wmsInTaskMapper.insertWmsInTask(wmsInTask);