|
|
|
@ -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);
|
|
|
|
|