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 2d9716a..8fb0307 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 @@ -596,7 +596,7 @@ public class BaseKnifeController extends BaseController { productionArrangements.setCreateTime(DateUtils.getNowDate()); productionArrangementsMapper.insertProductionArrangements(productionArrangements); - if (!msg.contains("缺少物料已生成组装任务!")){ + if (!msg.contains("缺少物料已生成组装任务!")) { // 生成出库计划单 WmsOutPlan outPlan = new WmsOutPlan(); outPlan.setPlanCode(productionArrangements.getPlanSheet()); @@ -905,7 +905,8 @@ public class BaseKnifeController extends BaseController { wmsInPlanTemp.setCellCode(zdTask.getAttr3()); wmsInPlanTemp.setPlanCode(zdTask.getAttr4() == null ? zdTask.getCode() : zdTask.getAttr4()); wmsInPlanTemp.setRelBillCode("组装单据"); - wmsInPlanTemp.setPlanTypeId("13"); + wmsInPlanTemp.setPlanTypeId(13L); + wmsInPlanTemp.setPlanTypeCode("ZDRK"); wmsInPlanTemp.setCreateBy(getUsername()); wmsInPlanTemp.setCreateTime(DateUtils.getNowDate());