Commit 9a050443 by lzy

更新

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