Merge branch '106-fix-record-endpoint-allbetweenanduser' into 'master'

Resolve "Fix Record Endpoint allBetweenAndUser"

Closes #106

See merge request marcel.schwarz/2020ss-qbc-geofence-timetracking!85
This commit is contained in:
Simon Kellner 2020-05-30 17:05:16 +00:00
commit f3952c1ea8

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
); );