Commit 72a346d6 by 卓清洪

fix:设备列表所属租户回显

parent 531a37e0
...@@ -409,8 +409,8 @@ public class PlatDeviceServiceImpl extends ServiceImpl<PlatDeviceMapper, PlatDev ...@@ -409,8 +409,8 @@ public class PlatDeviceServiceImpl extends ServiceImpl<PlatDeviceMapper, PlatDev
request.setPage(pageReqDTO.getPage()); request.setPage(pageReqDTO.getPage());
request.setLimit(pageReqDTO.getLimit()); request.setLimit(pageReqDTO.getLimit());
PageVO<PlatDeviceListVO> pageVO = page(request); PageVO<PlatDeviceListVO> pageVO = page(request);
List<PlatDeviceListVO> platDeviceListVOS = BeanDtoVoUtils.listVo(pageVO.getList(), PlatDeviceListVO.class); //List<PlatDeviceListVO> platDeviceListVOS = BeanDtoVoUtils.listVo(pageVO.getList(), PlatDeviceListVO.class);
JoinUtil.join(platDeviceListVOS, platTenantService, BaseTenantDTO::getTenantId, BaseEntity::getId, (d, o) -> { JoinUtil.join(pageVO.getList(), platTenantService, BaseTenantDTO::getTenantId, BaseEntity::getId, (d, o) -> {
d.setTenantName(o.getName()); d.setTenantName(o.getName());
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment