Commit 4def0d01 by YG8999

Merge remote-tracking branch 'origin/main'

parents 47f2f8bd 966b2063
...@@ -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