Ver código fonte

Merge branch 'develop' of gitadmin/tuoheng_air_monitor into release

tags/v1.0.2
chengwang 1 ano atrás
pai
commit
2e673aaeec
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/system/role/RoleServiceImpl.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/system/role/RoleServiceImpl.java Ver arquivo

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

Carregando…
Cancelar
Salvar