From a520b98f6d6951245266e7b80ad3b3e22aa8af72 Mon Sep 17 00:00:00 2001
From: lihongji <3117313295@qq.com>
Date: 星期二, 10 十二月 2024 11:11:03 +0800
Subject: [PATCH] 换型损失优化

---
 _Main/BL/Type_NewOfflinePlanCell/StaticMethod_DeductionOfReplacementLoss.qbl |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_DeductionOfReplacementLoss.qbl b/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_DeductionOfReplacementLoss.qbl
index 96372d0..5f6c716 100644
--- a/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_DeductionOfReplacementLoss.qbl
+++ b/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_DeductionOfReplacementLoss.qbl
@@ -2,7 +2,8 @@
 #parent: #root
 StaticMethod DeductionOfReplacementLoss (
   MacroPlan macroPlan,
-  NewOfflinePlanTable nopt
+  NewOfflinePlanTable nopt,
+  Entitys entitys
 )
 {
   TextBody:
@@ -15,6 +16,7 @@
     
     traverse ( allProductionLines, Elements, pl
     //           , pl = "CC ZKG" 
+               , exists( entitys, Elements.astype( Unit ), tempU, tempU.Name() = pl ) 
              ) 
     {
       // 涓嬬嚎璁″垝褰撳墠浜х嚎涓嬬殑琛�

--
Gitblit v1.9.3