@@ -56,4 +56,9 @@ public class TenantVo { | |||
*/ | |||
private String districtName; | |||
/** | |||
* 租户id对应在用户表中的id | |||
*/ | |||
private Long tenantId; | |||
} |
@@ -344,7 +344,7 @@ public class ClientUserServiceImpl implements ClientUserSevice { | |||
IPage<TenantPo> pageData = tenantMapper.findList(page, query); | |||
pageData.convert(x -> { | |||
TenantVo vo = Convert.convert(TenantVo.class, x); | |||
vo.setId(x.getUserId()); | |||
vo.setTenantId(x.getUserId()); | |||
vo.setTenantCode(x.getCode()); | |||
vo.setTenantName(x.getName()); | |||
Long userId = x.getUserId(); |