From cb2628a2dd3039f9f3f1582bc599b70bd74dbe08 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期三, 25 十月 2023 18:05:09 +0800
Subject: [PATCH] 数据分发增加日志优化

---
 _Main/BL/Type_GlobalDTOTable/StaticMethod_DeleteAllMappingData.qbl |   27 ++++++---------------------
 1 files changed, 6 insertions(+), 21 deletions(-)

diff --git a/_Main/BL/Type_GlobalDTOTable/StaticMethod_DeleteAllMappingData.qbl b/_Main/BL/Type_GlobalDTOTable/StaticMethod_DeleteAllMappingData.qbl
index bfd949f..3f6a675 100644
--- a/_Main/BL/Type_GlobalDTOTable/StaticMethod_DeleteAllMappingData.qbl
+++ b/_Main/BL/Type_GlobalDTOTable/StaticMethod_DeleteAllMappingData.qbl
@@ -1,30 +1,15 @@
 Quintiq file version 2.0
 #parent: #root
 StaticMethod DeleteAllMappingData (
-  GlobalOTDTable globalOTDTable
+  GlobalOTDTable globalOTDTable,
+  String dataInterfaceLogID
 )
 {
   TextBody:
   [*
-    globalOTDTable.Global_MappingCustomOrder( relflush );
-    globalOTDTable.Global_MappingForecast( relflush );
-    globalOTDTable.Global_MappingUnitOfMeasure_MP( relflush );
-    globalOTDTable.Global_MappingSalesSegment_MP( relflush );
-    globalOTDTable.Global_MappingProduct_MP( relflush );
-    globalOTDTable.Global_MappingConversionFactor( relflush );
-    globalOTDTable.Global_MappingOperation( relflush );
-    globalOTDTable.Global_MappingOperationBOM( relflush );
-    globalOTDTable.Global_MappingProductInLane( relflush );
-    globalOTDTable.Global_MappingActualProductInStockingPointInPeriod( relflush );
-    globalOTDTable.Global_MappingInventorySupply( relflush );
-    globalOTDTable.Global_MappingStockingPointCost( relflush );
-    globalOTDTable.Global_MappingOperationCost( relflush );
-    globalOTDTable.Global_MappingDOI_DSI( relflush );
-    globalOTDTable.Global_MappingCustomerGrade( relflush );
-    globalOTDTable.Global_MappingStockingPoint_MP( relflush );
-    globalOTDTable.Global_MappingCurrency_MP( relflush );
-    globalOTDTable.Global_MappingCurrencyRate_MP( relflush );
-    globalOTDTable.Global_MappingLane( relflush );
-    globalOTDTable.Global_MappingLaneLeg( relflush );
+    globalOTDTable -> GlobalOTDTable::DeleteAllMappingDataStream()
+                   -> DataInterfaceLog::Success( dataInterfaceLogID )
+                   -> Exception()
+                   -> DataInterfaceLog::OnException( dataInterfaceLogID );
   *]
 }

--
Gitblit v1.9.3