车辆进出记录暂时查全部

This commit is contained in:
XinWei 2024-08-19 09:40:31 +08:00
parent 088fd9df0f
commit e1a3b531cd

View File

@ -247,8 +247,8 @@ public class VehicleAccessApi {
// 创建分页请求
Pageable pageable = PageRequest.of(page, 4);
Page<VehicleRecord> recordOfAccessList = vehicleRecordRepository.findByCreateTimeBetweenOrderByCreateTimeAsc(startOfDay, endOfDay, pageable);
// Page<VehicleRecord> recordOfAccessList = vehicleRecordRepository.findByCreateTimeBetweenOrderByCreateTimeAsc(startOfDay, endOfDay, pageable);
Page<VehicleRecord> recordOfAccessList = vehicleRecordRepository.findAll(pageable); // TODO 暂时获取全部数据分页
return ResponseVO.success(200,"",recordOfAccessList,total);
}