|
|
@@ -261,6 +261,8 @@ public class ClientUserServiceImpl implements ClientUserSevice { |
|
|
|
IPage<TenantPo> pageData = tenantMapper.findList(page, query); |
|
|
|
pageData.convert(x -> { |
|
|
|
TenantVo vo = Convert.convert(TenantVo.class, x); |
|
|
|
if (ObjectUtil.isNotEmpty(vo.getCode())) { |
|
|
|
} |
|
|
|
Long userId = x.getUserId(); |
|
|
|
List<AuthoritiesPo> poList = authoritiesMapper.selectByUserId(userId); |
|
|
|
UserPo userPo = clientUserMapper.selectByUserId(userId); |
|
|
@@ -281,6 +283,9 @@ public class ClientUserServiceImpl implements ClientUserSevice { |
|
|
|
vo.setList(businessSystemVoList); |
|
|
|
return vo; |
|
|
|
}); |
|
|
|
//过滤出测试租户数据 |
|
|
|
List<TenantPo> collect = pageData.getRecords().stream().filter(t -> ObjectUtil.isNotEmpty(t.getCode())).collect(Collectors.toList()); |
|
|
|
pageData.setRecords(collect); |
|
|
|
return JsonResult.success(pageData); |
|
|
|
} |
|
|
|
|