Commit 52c3cd4e by lzy

列表

parent 4a336400
...@@ -161,8 +161,8 @@ public class PlatRoomBedDeviceServiceImpl extends ServiceImpl<PlatRoomBedDeviceM ...@@ -161,8 +161,8 @@ public class PlatRoomBedDeviceServiceImpl extends ServiceImpl<PlatRoomBedDeviceM
data = BeanDtoVoUtils.listVo(listDevices, PlatDeviceDTO.class); data = BeanDtoVoUtils.listVo(listDevices, PlatDeviceDTO.class);
data.forEach(item -> { data.forEach(item -> {
item.setBedName(mapName.get(item.getId())); item.setBedName(mapName.get(item.getOriDeviceId()));
item.setBedId(mapBedId.get(item.getId())); item.setBedId(mapBedId.get(item.getOriDeviceId()));
}); });
} }
return data; return data;
......
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