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; } }