车辆进出记录暂时查全部
This commit is contained in:
parent
088fd9df0f
commit
e1a3b531cd
@ -247,8 +247,8 @@ public class VehicleAccessApi {
|
|||||||
|
|
||||||
// 创建分页请求
|
// 创建分页请求
|
||||||
Pageable pageable = PageRequest.of(page, 4);
|
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);
|
return ResponseVO.success(200,"",recordOfAccessList,total);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user