Pārlūkot izejas kodu

角色列表修改不展示系统管理员code

tags/v1.0.0^2
chengwang pirms 1 gada
vecāks
revīzija
6b0bf77b47
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/role/RoleServiceImpl.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/role/RoleServiceImpl.java Parādīt failu

@@ -210,7 +210,7 @@ public class RoleServiceImpl implements IRoleService {
QueryWrapper<Role> queryWrapper = new QueryWrapper<>();
// 租户ID
//不展示超管
queryWrapper.ne("code", "001");
queryWrapper.ne("code", "100001");
queryWrapper.eq("tenant_id", CurrentUserUtil.getTenantId());
// queryWrapper.eq("tenant_id", CurrentUserUtil.getTenantId());
queryWrapper.eq("status", 1);

Notiek ielāde…
Atcelt
Saglabāt