From 9b6b60729d8178399396e2670c0e7914a9746b59 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期一, 29 四月 2024 17:22:41 +0800
Subject: [PATCH] 文件上传以及接口权限修改
---
Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtimport/LinkQTImportTree.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtimport/LinkQTImportTree.java b/Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtimport/LinkQTImportTree.java
index ef888a6..9b15257 100644
--- a/Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtimport/LinkQTImportTree.java
+++ b/Source/Client/PLTClient/src/com/vci/client/oq/ui/linkqtimport/LinkQTImportTree.java
@@ -22,6 +22,7 @@
import javax.swing.tree.TreeSelectionModel;
import com.vci.client.LogonApplication;
+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;
@@ -329,7 +330,7 @@
*/
// TODO Auto-generated method stub
try {
- QTInfo[] qtws = QTDClient.getService().getAllQTs();
+ QTInfo[] qtws = ServiceProvider.getOMDService().getQTDService().getAllQTs();
boolean islaet = true;
for (int i = 0; i < qtws.length; i++) {
if (string.equals(qtws[i].qtName)) {
@@ -420,7 +421,7 @@
private void getPLQtIsInDB(String string, QTD[] qtds) {
// TODO Auto-generated method stub
try {
- QTD[] qtds2 = QTDClient.getService().getBizTypeQTDs(string);
+ QTD[] qtds2 = ServiceProvider.getOMDService().getQTDService().getBizTypeQTDs(string);
QTD[] qtdsNewQtds = null;
List<QTD> es = new ArrayList<QTD>();
for (QTD qtd : qtds) {
--
Gitblit v1.9.3