From ee032cd079ac6888c6750a9545a74b7048c2da1b Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期五, 18 十月 2024 09:36:35 +0800
Subject: [PATCH] 1、增加删除卷接口。

---
 Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/RightControlUtil.java |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/RightControlUtil.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/RightControlUtil.java
index 7403ec3..154b35b 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/RightControlUtil.java
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/RightControlUtil.java
@@ -118,7 +118,7 @@
     public boolean isThreeAdminCurUser() {
         SessionInfo sessionInfo = WebUtil.getCurrentUserSessionInfoNotException();
         try {
-            RoleInfo[] roles = platformClientUtil.getFrameworkService().fetchRoleInfoByUserId(sessionInfo.getUserId());
+            RoleInfo[] roles = platformClientUtil.getFrameworkService().fetchRoleInfoByUserId(sessionInfo.getUserOid());
             for (RoleInfo role : roles) {
                 if (role.name.equalsIgnoreCase("绯荤粺绠$悊鍛�")){
                     return true;
@@ -152,7 +152,6 @@
         }
         return roleRightByUserName;
     }
-
 
     /**
      * 鑾峰彇褰撳墠鐢ㄦ埛鍏锋湁鏉冮檺鐨勬墍鏈夋ā鍧�
@@ -231,7 +230,6 @@
 
 
     public FunctionInfo[] getFunctionsByParentId(String parentId, String userName) {
-
         FunctionInfo[] funcObjs =  null;
         try {
             if(isDeveloper(userName)){

--
Gitblit v1.9.3