ludc
2024-08-15 118211ba511524e94952c896bd508ff9baec46c8
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)){