Commit 28b789f7 by 吕明尚

Merge branch 'dev' into test

parents 4e698f0b c6c33481
...@@ -407,6 +407,9 @@ public class SCleanRecordsServiceImpl extends ServiceImpl<SCleanRecordsMapper,SC ...@@ -407,6 +407,9 @@ public class SCleanRecordsServiceImpl extends ServiceImpl<SCleanRecordsMapper,SC
@Override @Override
public List<SCleanRecords> unCleanedListByRoomIds(List<Long> roomIds) { public List<SCleanRecords> unCleanedListByRoomIds(List<Long> roomIds) {
LambdaQueryWrapper<SCleanRecords> queryWrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<SCleanRecords> queryWrapper = new LambdaQueryWrapper<>();
if (CollectionUtils.isEmpty(roomIds)) {
return new ArrayList<>();
}
queryWrapper.in(SCleanRecords::getRoomId, roomIds); queryWrapper.in(SCleanRecords::getRoomId, roomIds);
queryWrapper.ne(SCleanRecords::getStatus, CleaningStatusEnum.CLEANED.getCode()); queryWrapper.ne(SCleanRecords::getStatus, CleaningStatusEnum.CLEANED.getCode());
queryWrapper.orderByDesc(SCleanRecords::getStartDate); queryWrapper.orderByDesc(SCleanRecords::getStartDate);
......
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