Commit 966b2063 by 吕明尚

通过当前需要保洁的房间查询保洁中的订单

parent cbf2ae17
...@@ -151,6 +151,7 @@ public class SCleanRecordsServiceImpl implements ISCleanRecordsService ...@@ -151,6 +151,7 @@ public class SCleanRecordsServiceImpl implements ISCleanRecordsService
public SCleanRecords getByRoomId(Long roomId) { public SCleanRecords getByRoomId(Long roomId) {
LambdaQueryWrapper<SCleanRecords> queryWrapper = new LambdaQueryWrapper(); LambdaQueryWrapper<SCleanRecords> queryWrapper = new LambdaQueryWrapper();
queryWrapper.in(SCleanRecords::getRoomId,roomId); queryWrapper.in(SCleanRecords::getRoomId,roomId);
queryWrapper.in(SCleanRecords::getStatus, CleaningStatusEnum.CLEANING.getCode());
return sCleanRecordsMapper.selectOne(queryWrapper); return sCleanRecordsMapper.selectOne(queryWrapper);
} }
......
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