From 02f93820496e0c14de3b9f8f9b5ef1435d342ddc Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期二, 15 十月 2024 18:52:45 +0800
Subject: [PATCH] 上线计划优化
---
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Method_GetMacroPlans.def | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Method_GetMacroPlans.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Method_GetMacroPlans.def
index bc17ce4..695b69b 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Method_GetMacroPlans.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Method_GetMacroPlans.def
@@ -7,11 +7,13 @@
[*
componentmds := ApplicationScope.ComponentMDS();
+
macroPlans := construct( MacroPlans );
scemps := selectset( ScenarioManager,ScenarioMP,mp,mp.IsLoaded());
traverse( scemps,Elements,scemp ){
mdsinstance := select( componentmds, ComponentMDSKinds.ComponentMDSInstances, m, m.MDSID().MDSKey() = scemp.DatasetMDSID() );
handle := mdsinstance.GetMDSHandle();
+
demandMacroPlan := handle.AsMacroPlan();
macroPlans.Add( demandMacroPlan );
}
--
Gitblit v1.9.3