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_MappingOperationData.qbl | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/_Main/BL/Type_MacroPlan/Method_MappingOperationData.qbl b/_Main/BL/Type_MacroPlan/Method_MappingOperationData.qbl index 07e9838..397d6d4 100644 --- a/_Main/BL/Type_MacroPlan/Method_MappingOperationData.qbl +++ b/_Main/BL/Type_MacroPlan/Method_MappingOperationData.qbl @@ -1,21 +1,22 @@ Quintiq file version 2.0 #parent: #root Method MappingOperationData ( - Strings businessTypes + Strings businessTypes, + GlobalOTDTable globalOTDTable ) { TextBody: [* // yypsybs Aug-18-2023 (created) // 鑾峰彇鏈夊簭鐨勫緟澶勭悊璁板綍 - toDealList := construct( MappingOperations ); + toDealList := construct( Global_MappingOperations ) ; if( not isnull( businessTypes ) and businessTypes.Size() > 0 ) { - toDealList := selectsortedset( this, MappingOperation, item, + toDealList := selectsortedset( globalOTDTable, Global_MappingOperation, item, businessTypes.Find( item.BusinessType() ) >= 0, // businessTypes.Difference( businessTypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0, item.SequenceNumber() ); } else { - toDealList := selectsortedset( this, MappingOperation, item, + toDealList := selectsortedset( globalOTDTable, Global_MappingOperation, item, true, item.SequenceNumber() ); } -- Gitblit v1.9.3