xinwei #4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user