From d30a8bbf3f46528e1773bce1a2065b2462b84a18 Mon Sep 17 00:00:00 2001
From: renhao <renhui.hao@capgemini.com>
Date: 星期四, 21 九月 2023 15:03:36 +0800
Subject: [PATCH] GlobalOTDTable修改

---
 _Main/BL/Type_MacroPlan/Method_MappingOperationBOMDataRouting#576.qbl |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/_Main/BL/Type_MacroPlan/Method_MappingOperationBOMDataRouting\043576.qbl" "b/_Main/BL/Type_MacroPlan/Method_MappingOperationBOMDataRouting\043576.qbl"
index e661d1f..c661b69 100644
--- "a/_Main/BL/Type_MacroPlan/Method_MappingOperationBOMDataRouting\043576.qbl"
+++ "b/_Main/BL/Type_MacroPlan/Method_MappingOperationBOMDataRouting\043576.qbl"
@@ -2,7 +2,8 @@
 #parent: #root
 Method MappingOperationBOMDataRouting (
   Routing routing,
-  MappingBOMs routingRows
+  GlobalOTDTable globalOTDTable,
+  Global_MappingOperationBOMs routingRows
 )
 {
   TextBody:
@@ -15,7 +16,7 @@
         rows := selectset( routingRows, Elements, row, row.ProcessSection() = processSection );
         firstRow := rows.Element( 0 );
         // 鎵緊rgCode/productId/processSection鍖归厤涓攕equence鏈�灏忕殑涓�缁勬暟鎹�
-        minSeq := MappingOperation::FindMinSeq( this, firstRow.OrganCode(), firstRow.ProductCode(), processSection );
+        minSeq := Global_MappingOperation::FindMinSeq( globalOTDTable, firstRow.OrganCode(), firstRow.ProductCode(), processSection );
         routingStepId := processSection + "_" + [String]minSeq;
         // 鎵惧搴攔outingStep
         routingStep := RoutingStep::FindByName( routing, routingStepId );

--
Gitblit v1.9.3