From 32b9447a352f0e95bec82db023f33c0f0b0d679f Mon Sep 17 00:00:00 2001 From: "jhforever.wang@estsh.com" Date: Thu, 23 Jan 2025 14:58:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../serviceimpl/station/function/MesFunctionPackagePartService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/i3plus-ext-mes-pcn-apiservice/src/main/java/cn/estsh/i3plus/ext/mes/pcn/apiservice/serviceimpl/station/function/MesFunctionPackagePartService.java b/modules/i3plus-ext-mes-pcn-apiservice/src/main/java/cn/estsh/i3plus/ext/mes/pcn/apiservice/serviceimpl/station/function/MesFunctionPackagePartService.java index f5f946f..1d485f1 100644 --- a/modules/i3plus-ext-mes-pcn-apiservice/src/main/java/cn/estsh/i3plus/ext/mes/pcn/apiservice/serviceimpl/station/function/MesFunctionPackagePartService.java +++ b/modules/i3plus-ext-mes-pcn-apiservice/src/main/java/cn/estsh/i3plus/ext/mes/pcn/apiservice/serviceimpl/station/function/MesFunctionPackagePartService.java @@ -193,7 +193,7 @@ public class MesFunctionPackagePartService extends BaseSwsService implements IFs MesPackageRuleContext packageRuleContext = packageRuleContextMap.get(productionPartContext.getPartNo()); if (null == packageRuleContext) { - packageRuleContext = packageNoGenerateStepService.getPackageRuleContext(reqBean, stepResult, productionPartContext.getPartNo(), false); + packageRuleContext = packageNoGenerateStepService.getPackageRuleContext(reqBean, stepResult, productionPartContext.getPartNo(), true); if (null != packageRuleContext) packageRuleContextMap.put(productionPartContext.getPartNo(), packageRuleContext); } if (null != packageRuleContext) BeanUtils.copyProperties(packageRuleContext, packageDataContext); @@ -216,7 +216,7 @@ public class MesFunctionPackagePartService extends BaseSwsService implements IFs MesPackageRuleContext packageRuleContext = packageRuleContextMap.get(prodRuleContext.getOutPartNo()); if (null == packageRuleContext) { - packageRuleContext = packageNoGenerateStepService.getPackageRuleContext(reqBean, stepResult, prodRuleContext.getOutPartNo(), false); + packageRuleContext = packageNoGenerateStepService.getPackageRuleContext(reqBean, stepResult, prodRuleContext.getOutPartNo(), true); if (null != packageRuleContext) packageRuleContextMap.put(prodRuleContext.getOutPartNo(), packageRuleContext); } if (null != packageRuleContext) BeanUtils.copyProperties(packageRuleContext, packageDataContext); @@ -233,7 +233,7 @@ public class MesFunctionPackagePartService extends BaseSwsService implements IFs MesPackageRuleContext packageRuleContext = packageRuleContextMap.get(partNo); if (null == packageRuleContext) { - packageRuleContext = packageNoGenerateStepService.getPackageRuleContext(reqBean, stepResult, partNo, false); + packageRuleContext = packageNoGenerateStepService.getPackageRuleContext(reqBean, stepResult, partNo, true); if (null != packageRuleContext) packageRuleContextMap.put(partNo, packageRuleContext); } if (null != packageRuleContext) BeanUtils.copyProperties(packageRuleContext, packageDataContext);