From 07125537e1055f6ef7e5a3b1bb9dd4c5a6a3c393 Mon Sep 17 00:00:00 2001 From: yinq Date: Wed, 21 Feb 2024 13:23:04 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E4=B8=8B=E8=BE=BE=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E5=8A=A0=E5=B7=A5=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/ProductPlanInfoServiceImpl.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/aucma-production/src/main/java/com/aucma/production/service/impl/ProductPlanInfoServiceImpl.java b/aucma-production/src/main/java/com/aucma/production/service/impl/ProductPlanInfoServiceImpl.java index 15a831d..1c50739 100644 --- a/aucma-production/src/main/java/com/aucma/production/service/impl/ProductPlanInfoServiceImpl.java +++ b/aucma-production/src/main/java/com/aucma/production/service/impl/ProductPlanInfoServiceImpl.java @@ -154,7 +154,7 @@ public class ProductPlanInfoServiceImpl implements IProductPlanInfoService { } } } - + //二线 if (StringUtils.isNotEmpty(baseOrderInfo.getWorkCenterCode()) && baseOrderInfo.getWorkCenterCode().equals("3103")) { for (BaseBomInfo baseBomInfo : baseBomInfos) { if (baseBomInfo.getMaterialType().equals(MaterialConstants.COAMING_MATERIAL_TYPE)) { @@ -177,8 +177,11 @@ public class ProductPlanInfoServiceImpl implements IProductPlanInfoService { planInfo.setSaleorderLinenumber(saleOrderLineNumber); planInfo.setMaterialCode(baseBomInfo.getMaterialCode()); planInfo.setMaterialName(baseBomInfo.getMaterialName()); - planInfo.setProductLineCode("1005");// 箱体发泡 planInfo.setPlanAmount(baseBomInfo.getStandardAmount().longValue() * orderAmount.longValue()); + planInfo.setProductLineCode("1002");// 胆、壳组装 + this.insertProductPlanInfo(planInfo); + planInfo.setPlanCode(PlanCodeUtils.getPlanCode()); + planInfo.setProductLineCode("1005");// 箱体发泡 this.insertProductPlanInfo(planInfo); planInfo.setPlanCode(PlanCodeUtils.getPlanCode()); planInfo.setProductLineCode("1006");// 泡后库