From 7da8f196dee8e3c526c009a4bc7f5983ece6bb97 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期三, 16 十月 2024 09:50:11 +0800 Subject: [PATCH] 修改平台的应用权限等相关接口 --- iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleServiceImpl.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleServiceImpl.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleServiceImpl.java index b4ae471..d77d9b3 100644 --- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleServiceImpl.java +++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleServiceImpl.java @@ -269,4 +269,12 @@ return SpringUtil.getBean(getClass()); } + /** + * 查询租户管理员 + */ + public RoleDO getTenantAdminRole(Long tenantId) { + RoleDO roleDO = roleMapper.selectOne(new LambdaQueryWrapperX<RoleDO>().eq(RoleDO::getType, 1L).eq(RoleDO::getTenantId, tenantId)); + return roleDO; + } + } -- Gitblit v1.9.3