Commit dfeae8d1 by 吕明尚

结束保洁判断房间订单修改房间状态

parent 062003f4
...@@ -475,6 +475,11 @@ public class SCleanRecordsServiceImpl extends ServiceImpl<SCleanRecordsMapper,SC ...@@ -475,6 +475,11 @@ public class SCleanRecordsServiceImpl extends ServiceImpl<SCleanRecordsMapper,SC
// 断电 // 断电
deviceOpService.openOrCloseDevice(records.getRoomId(), records.getPhone(), OpTypeEnum.CUT_ELECTRIC.getCode(), true, 5, deviceOpService.openOrCloseDevice(records.getRoomId(), records.getPhone(), OpTypeEnum.CUT_ELECTRIC.getCode(), true, 5,
DeviceOpSourceEnum.DEVICE_SOURCE_10.getCode()); DeviceOpSourceEnum.DEVICE_SOURCE_10.getCode());
} else {
SRoom room = new SRoom();
room.setId(records.getRoomId());
room.setStatus(RoomStatusEnum.HOLD.getValue());
roomService.updateById(room);
} }
return index; return index;
} }
......
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 to comment