|
@ -16,6 +16,6 @@ public interface PatientInfoDao extends PagingAndSortingRepository<PatientInfo,
|
|
|
@Query("from PatientInfo p ")
|
|
|
List<PatientInfo> findAllPatient();
|
|
|
|
|
|
@Query("from PatientInfo p where (p.code='test1' or p.code='test2'or p.code='test3') ")
|
|
|
@Query("from PatientInfo p where (p.code='test1' or p.code='test2'or p.code='test3') order by p.id asc")
|
|
|
List<PatientInfo> findByHasCode();
|
|
|
}
|