From 56bdc677d717f8f1d8ff6ff4c87e733d1206e8be Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 27 六月 2024 17:58:15 +0800
Subject: [PATCH] 用户停用启用 分配角色穿梭框功能 创建其他人员组织菜单 表格优化
---
Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java b/Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java
index 74ff340..7627676 100644
--- a/Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java
+++ b/Source/Client/PLTClient/src/com/vci/client/auth2/utils/RightManagerHelper.java
@@ -55,7 +55,7 @@
import com.vci.common.qt.object.Symbol;
//import com.vci.corba.auth2.Auth2ServicePrx;
import com.vci.corba.framework.data.GrandValue;
-import com.vci.corba.framework.method.FrameworkServicePrx;
+import com.vci.corba.framework.FrameworkServicePrx;
import com.vci.corba.common.VCIError;
import com.vci.corba.omd.btm.BtmItem;
import com.vci.corba.omd.lcm.LifeCycle;
@@ -66,20 +66,20 @@
import com.vci.corba.portal.data.PLAction;
public class RightManagerHelper {
- private static FrameworkServicePrx frameService = null;
-
- public static FrameworkServicePrx getFrameworkService() throws VCIError {
- if (frameService != null) {
- return frameService;
- }
- try {
-
- return frameService = ServiceProvider.getFrameService();
- } catch (Exception e) {
- ClientLog4j.logger.error(e.getMessage(), e);
- throw new VCIError("1", new String[] { e.getMessage() });
- }
- }
+// private static FrameworkServicePrx frameService = null;
+//
+// public static FrameworkServicePrx getFrameworkService() throws VCIError {
+// if (frameService != null) {
+// return frameService;
+// }
+// try {
+//
+// return frameService = ServiceProvider.getFrameService();
+// } catch (Exception e) {
+// ClientLog4j.logger.error(e.getMessage(), e);
+// throw new VCIError("1", new String[] { e.getMessage() });
+// }
+// }
public static BtmItem getResourceType(AbstractUIFunclet funclet) {
@@ -103,7 +103,7 @@
public static GrandValue[] getRightDatas(String typeName) {
GrandValue[] dataSets = null;
try {
- dataSets = getFrameworkService().queryGrand(typeName);
+ dataSets = ServiceProvider.getFrameService().queryGrand(typeName);
} catch (Throwable e) {
JOptionPane.showMessageDialog(LogonApplication.frame,
((VCIError) e).messages[0], "閿欒鎻愮ず", JOptionPane.ERROR_MESSAGE);
--
Gitblit v1.9.3