From c65c0b31e6dfd01db744a450dda3816f65eebbc1 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期四, 05 十二月 2024 11:41:10 +0800 Subject: [PATCH] 1、修改使用当前用户的类型查询用户接口,可以传入用户类型。 2、增加根据用户主键获取关联的部门接口。 3、增加查询授权结果接口。 4、增加查询业务对象接口。 --- Source/Client/PLTClient/src/com/vci/client/auth2/action/SaveRuleAction.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Client/PLTClient/src/com/vci/client/auth2/action/SaveRuleAction.java b/Source/Client/PLTClient/src/com/vci/client/auth2/action/SaveRuleAction.java index 6b457dc..3426b61 100644 --- a/Source/Client/PLTClient/src/com/vci/client/auth2/action/SaveRuleAction.java +++ b/Source/Client/PLTClient/src/com/vci/client/auth2/action/SaveRuleAction.java @@ -7,6 +7,7 @@ import javax.swing.tree.TreePath; import com.vci.client.auth2.utils.RightManagerHelper; +import com.vci.client.common.providers.ServiceProvider; import com.vci.client.omd.btm.ui.BtmTree; import com.vci.client.omd.btm.ui.ResourceTree; import com.vci.client.omd.btm.wrapper.BtmItemWrapper; @@ -52,7 +53,7 @@ // DataBase boolean isTrue = false; try { - isTrue = RightManagerHelper.getFrameworkService().deleteTypeRuleGrand( + isTrue = ServiceProvider.getFrameService().deleteTypeRuleGrand( btm.name, values.get(0).ruleName); } catch (Exception e) { JOptionPane.showMessageDialog( @@ -66,7 +67,7 @@ // save boolean isTrue_add = false; try { - isTrue_add = RightManagerHelper.getFrameworkService().saveGrand( + isTrue_add = ServiceProvider.getFrameService().saveGrand( values.toArray(new GrandValue[values.size()])); } catch (Exception e) { JOptionPane.showMessageDialog( -- Gitblit v1.9.3