From 03c38da7555b69cb598e534c97fa25bd5385701c Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 29 十月 2024 17:55:50 +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