From b51233c005f97c52054a4f1d63a745b76d351f85 Mon Sep 17 00:00:00 2001
From: hongji.li <hongji.a.li@capgemini.com>
Date: 星期四, 19 十月 2023 11:09:04 +0800
Subject: [PATCH] 异步分发BusinessType修改

---
 _Main/BL/Type_MacroPlan/StaticMethod_DoASync.qbl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/_Main/BL/Type_MacroPlan/StaticMethod_DoASync.qbl b/_Main/BL/Type_MacroPlan/StaticMethod_DoASync.qbl
index 4fb0a6b..b59ea06 100644
--- a/_Main/BL/Type_MacroPlan/StaticMethod_DoASync.qbl
+++ b/_Main/BL/Type_MacroPlan/StaticMethod_DoASync.qbl
@@ -2,7 +2,7 @@
 #parent: #root
 StaticMethod DoASync (
   Scenario scenario,
-  String businessTypeStr,
+  BusinessType businessType,
   Boolean isKeyProduct,
   Boolean createPurchaseSupplyMaterial,
   const GlobalOTDTable globalOTDTable
@@ -10,10 +10,10 @@
 {
   TextBody:
   [*
-    info( scenario.DatasetMDSID(), "    浜嬩笟閮細", businessTypeStr, "    isKeyProduct锛�", isKeyProduct, "    createPurchaseSupplyMaterial锛�", createPurchaseSupplyMaterial );
+    info( scenario.DatasetMDSID(), "    浜嬩笟閮細", businessType.BusinessTypeName(), "    isKeyProduct锛�", isKeyProduct, "    createPurchaseSupplyMaterial锛�", createPurchaseSupplyMaterial );
     
     MDSMacroPlan::Root( scenario.DatasetMDSID() )
-    -> MacroPlan::DoASync( businessTypeStr,
+    -> MacroPlan::DoASync( businessType,
                            isKeyProduct,
                            createPurchaseSupplyMaterial,
                            globalOTDTable

--
Gitblit v1.9.3