Commit d0813127 by 吕明尚

修改完成保洁报错

parent e443e88e
...@@ -460,8 +460,6 @@ public class SCleanRecordsServiceImpl extends ServiceImpl<SCleanRecordsMapper,SC ...@@ -460,8 +460,6 @@ public class SCleanRecordsServiceImpl extends ServiceImpl<SCleanRecordsMapper,SC
if (records == null) { if (records == null) {
throw new RuntimeException("当前保洁任务不存在!"); throw new RuntimeException("当前保洁任务不存在!");
} }
sRoom.setId(records.getRoomId());
sRoomMapper.updateById(sRoom);
int index = updateSCleanRecords(sCleanRecords); int index = updateSCleanRecords(sCleanRecords);
//查询当前房间是否有正在使用的订单 //查询当前房间是否有正在使用的订单
List<SOrder> sOrderList = orderService.list(new LambdaQueryWrapper<SOrder>(). List<SOrder> sOrderList = orderService.list(new LambdaQueryWrapper<SOrder>().
......
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