From 34c25ddf37a3eb8da9efb04efedad089f13efe83 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 24 七月 2024 18:20:27 +0800 Subject: [PATCH] 部门导入调整,按照部门名称/实现层级关系。枚举导入功能接口上传,属性池添加新增、查询、修改、导出、查看应用范围等接口。业务类型、链接类型、枚举类型增加等接口属性是否产生数据检查、根据属性名修改业务类型和连接类型中对应属性方法,以及属性池中需要的一些下拉查询接口。 --- Source/Client/PLTClient/src/com/vci/client/oq/ui/QTDPanel.java | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Source/Client/PLTClient/src/com/vci/client/oq/ui/QTDPanel.java b/Source/Client/PLTClient/src/com/vci/client/oq/ui/QTDPanel.java index 3421f93..937deea 100644 --- a/Source/Client/PLTClient/src/com/vci/client/oq/ui/QTDPanel.java +++ b/Source/Client/PLTClient/src/com/vci/client/oq/ui/QTDPanel.java @@ -44,6 +44,7 @@ import com.vci.corba.omd.ltm.LinkType; import com.vci.corba.omd.qtm.QTD; import com.vci.client.common.oq.OQTool; +import com.vci.client.common.providers.ServiceProvider; import com.vci.client.omd.btm.ui.BtmTree; import com.vci.client.omd.btm.wrapper.BtmItemWrapper; import com.vci.client.omd.linktype.LinkTypeTree; @@ -552,7 +553,7 @@ } boolean flag = false; try { - flag = QTDClient.getService().deleteQTD(qtdName); + flag = ServiceProvider.getOMDService().getQTDService().deleteQTD(qtdName); } catch (VCIError e1) { e1.printStackTrace(); } @@ -663,7 +664,7 @@ qtd.abNames = abList.toArray(new String[0]); boolean addFlag = false; try { - addFlag = QTDClient.getService().addQTD(qtd); + addFlag = ServiceProvider.getOMDService().getQTDService().addQTD(qtd); } catch (VCIError e1) { e1.printStackTrace(); } @@ -691,7 +692,7 @@ qtd.abNames = abNameList.toArray(new String[0]); boolean modifyFlag = false; try { - modifyFlag = QTDClient.getService().modifyQTD(qtd); + modifyFlag = ServiceProvider.getOMDService().getQTDService().modifyQTD(qtd); } catch (VCIError e1) { e1.printStackTrace(); } @@ -788,7 +789,7 @@ return; } try { - qtdArray = QTDClient.getService().getBizTypeQTDs(btmName); + qtdArray = ServiceProvider.getOMDService().getQTDService().getBizTypeQTDs(btmName); } catch (VCIError e) { e.printStackTrace(); } @@ -805,7 +806,7 @@ return; } try { - qtdArray = QTDClient.getService().getLinkTypeQTDs(linkTypeName); + qtdArray = ServiceProvider.getOMDService().getQTDService().getLinkTypeQTDs(linkTypeName); } catch (VCIError e) { e.printStackTrace(); } @@ -938,7 +939,7 @@ String qtdName = name.toLowerCase(); try { - if(QTDClient.getService().isExistsQTD(qtdName)){ + if(ServiceProvider.getOMDService().getQTDService().isExistsQTD(qtdName)){ JOptionPane.showMessageDialog(this, "璇ユā鏉垮畾涔夊悕宸茬粡琚娇鐢�, 璇锋洿鎹�", "娉ㄦ剰", JOptionPane.WARNING_MESSAGE); return false; } -- Gitblit v1.9.3