|
|
|
|
|
|
|
|
QueryWrapper<Role> queryWrapper = new QueryWrapper<>(); |
|
|
QueryWrapper<Role> queryWrapper = new QueryWrapper<>(); |
|
|
// 租户ID |
|
|
// 租户ID |
|
|
//不展示超管 |
|
|
//不展示超管 |
|
|
//queryWrapper.ne("code", "001"); |
|
|
|
|
|
|
|
|
queryWrapper.ne("code", "001"); |
|
|
queryWrapper.eq("tenant_id", CurrentUserUtil.getTenantId()); |
|
|
queryWrapper.eq("tenant_id", CurrentUserUtil.getTenantId()); |
|
|
// queryWrapper.eq("tenant_id", CurrentUserUtil.getTenantId()); |
|
|
// queryWrapper.eq("tenant_id", CurrentUserUtil.getTenantId()); |
|
|
queryWrapper.eq("status", 1); |
|
|
queryWrapper.eq("status", 1); |