From 9423f2936340d82b046ec615381c1c5e03698557 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期五, 27 九月 2024 17:56:53 +0800
Subject: [PATCH] 1、主要完成对获取UI上下文的定义接口的优化,优化的方向为对多次获取业务类型对象进行转换而导致耗时较久的问题继续修改,还有对多次获取属性对象进行转换对象导致耗时过长问题进行修改。 2、对树的数据查询接口的优化,对多次获取属性对象进行转换对象导致耗时过长问题进行修改。

---
 Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtexport/LinkQTExportTree.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtexport/LinkQTExportTree.java b/Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtexport/LinkQTExportTree.java
index d50e382..42b8b6f 100644
--- a/Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtexport/LinkQTExportTree.java
+++ b/Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtexport/LinkQTExportTree.java
@@ -17,6 +17,7 @@
 import com.vci.corba.omd.ltm.LinkType;
 import com.vci.corba.omd.qtm.QTInfo;
 import com.vci.mw.ClientContextVariable;
+import com.vci.client.common.providers.ServiceProvider;
 import com.vci.client.omd.linktype.LinkTypeStart;
 import com.vci.client.oq.QTClient;
 import com.vci.client.oq.QTDClient;
@@ -85,14 +86,14 @@
 				List<LinkType> es = new ArrayList<LinkType>();
 					linkTypes = LinkTypeStart.getService().getLinkTypes();
 					for (LinkType lt : linkTypes) {
-						QTInfo[] qtWrappers = QTDClient.getService().getObjTypeQTs(lt.name);
+						QTInfo[] qtWrappers = ServiceProvider.getOMDService().getQTDService().getObjTypeQTs(lt.name);
 						if (qtWrappers.length!=0) {
 							es.add(lt);
 						}
 					}
 					linkTypes = es.toArray(new LinkType[es.size()]);
 				//TODO:闇�淇娌℃湁鍏宠仈鏌ヨ妯℃澘涓氬姟绫诲瀷鍘绘帀
-				qts = QTDClient.getService().getAllQTs();//鑾峰彇鎵�鏈夋煡璇㈡ā鏉�
+				qts = ServiceProvider.getOMDService().getQTDService().getAllQTs();//鑾峰彇鎵�鏈夋煡璇㈡ā鏉�
 			}
 			DefaultTreeModel dtml = (DefaultTreeModel) this.getModel();
 			DefaultMutableTreeNode node = (DefaultMutableTreeNode) pathForRow

--
Gitblit v1.9.3