bugfix for allBetweenAndUser Endpoint of records

This commit is contained in:
the_kellner 2020-05-30 18:46:39 +02:00
parent ea4493f955
commit 17a759ce1e

View File

@ -27,8 +27,8 @@ public interface RecordRepository extends PagingAndSortingRepository<TimeRecord,
@RestResource(rel = "allBetweenAndUser", path = "allBetweenAndUser") @RestResource(rel = "allBetweenAndUser", path = "allBetweenAndUser")
Page<TimeRecord> findAllByStartdateBetweenAndAccount_User_Username( Page<TimeRecord> findAllByStartdateBetweenAndAccount_User_Username(
LocalDateTime start, @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") LocalDateTime start,
LocalDateTime end, @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") LocalDateTime end,
String username, String username,
Pageable pageable Pageable pageable
); );