包厢修复

This commit is contained in:
zjf committed 2025-05-28 14:29:54 +08:00
1 parent 4d4dfaf7e9
commit 52207b0fee
1 file changed
+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());