包厢修复
This commit is contained in:
1 parent
4d4dfaf7e9
commit
52207b0fee
1 file changed
+3
+3
@@ -128,6 +128,9 @@ public class BoxesBookingServiceImpl extends ServiceImpl<BoxesBookingMapper, Box
|
||||
}
|
||||
Page pageData = baseMapper.selectPageByScope(page, wrapper, DataScope.of());
|
||||
List<BoxesBookingEntity> records = pageData.getRecords();
|
||||
if (CollectionUtils.isEmpty(records)){
|
||||
return pageData;
|
||||
}
|
||||
Set<Long> boxesIds = records.stream().map(boxesBookingEntity -> boxesBookingEntity.getBoxesId()).collect(Collectors.toSet());
|
||||
Set<Long> usersIds = records.stream().map(boxesBookingEntity -> boxesBookingEntity.getUserId()).collect(Collectors.toSet());
|
||||
|
||||
|
||||
Reference in new issue
Block a user