瀏覽代碼

取出角色租户概念

tags/v1.0.0^2
wanjing 1 年之前
父節點
當前提交
920232499a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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 查看文件

@@ -196,7 +196,7 @@ public class RoleServiceImpl implements IRoleService {
// 租户ID
//不展示超管
queryWrapper.ne("code", "001");
queryWrapper.eq("tenant_id", CurrentUserUtil.getTenantId());
// queryWrapper.eq("tenant_id", CurrentUserUtil.getTenantId());
queryWrapper.eq("status", 1);
queryWrapper.eq("mark", 1);
queryWrapper.orderByAsc("create_time");

Loading…
取消
儲存