|
|
@ -125,9 +125,9 @@ public class TenantService extends BaseService{ |
|
|
|
public Map<String,Object> queryTenantList(User loginUser, String searchVal, Integer pageNo, Integer pageSize) { |
|
|
|
public Map<String,Object> queryTenantList(User loginUser, String searchVal, Integer pageNo, Integer pageSize) { |
|
|
|
|
|
|
|
|
|
|
|
Map<String, Object> result = new HashMap<>(5); |
|
|
|
Map<String, Object> result = new HashMap<>(5); |
|
|
|
// if (checkAdmin(loginUser, result)) {
|
|
|
|
if (checkAdmin(loginUser, result)) { |
|
|
|
// return result;
|
|
|
|
return result; |
|
|
|
// }
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Integer count = tenantMapper.countTenantPaging(searchVal); |
|
|
|
Integer count = tenantMapper.countTenantPaging(searchVal); |
|
|
|
|
|
|
|
|
|
|
@ -269,9 +269,9 @@ public class TenantService extends BaseService{ |
|
|
|
public Map<String, Object> queryTenantList(User loginUser) { |
|
|
|
public Map<String, Object> queryTenantList(User loginUser) { |
|
|
|
|
|
|
|
|
|
|
|
Map<String, Object> result = new HashMap<>(5); |
|
|
|
Map<String, Object> result = new HashMap<>(5); |
|
|
|
if (checkAdmin(loginUser, result)) { |
|
|
|
// if (checkAdmin(loginUser, result)) {
|
|
|
|
return result; |
|
|
|
// return result;
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
List<Tenant> resourceList = tenantMapper.queryAllTenant(); |
|
|
|
List<Tenant> resourceList = tenantMapper.queryAllTenant(); |
|
|
|
result.put(Constants.DATA_LIST, resourceList); |
|
|
|
result.put(Constants.DATA_LIST, resourceList); |
|
|
|