Commit 1c065787 by 汪志阳

modify:bug 修改

parent b7715b34
......@@ -925,12 +925,12 @@ public class PlatElderSleepServiceImpl extends ServiceImpl<PlatElderSleepMapper,
PlatElder elder = platElderService.getOne(new QueryWrapper<PlatElder>().lambda()
.eq(PlatElder::getBedId, bedId));
// || !"1712648603580764161".equals(elder.getId())
if (elder == null || !"1712648603580764161".equals(elder.getId())) {
if (elder == null) {
continue;
}
PlatDevice platDevice = platDeviceService.getById(platRoomBedDevice.getDeviceId());
// || !"218A00XE2669104".equals(platDevice.getOriDeviceId())
if (platDevice == null || !"218A00XE2669104".equals(platDevice.getOriDeviceId())) {
if (platDevice == null) {
continue;
}
String tenantId = elder.getTenantId();
......
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