|
@ -16,6 +16,9 @@ public interface PatientDeviceDao extends PagingAndSortingRepository<PatientDevi
|
|
|
@Query("select a from PatientDevice a where a.user = ?1 ")
|
|
|
Iterable<PatientDevice> findByUser(String user);
|
|
|
|
|
|
@Query("select a from PatientDevice a where a.user = ?1 ")
|
|
|
List<PatientDevice> findByPatient(String user);
|
|
|
|
|
|
List<PatientDevice> findByUser(String user, Pageable pageRequest);
|
|
|
|
|
|
List<PatientDevice> findByUserAndDoctor(String user, String doctor, Pageable pageRequest);
|