Jelajahi Sumber

代码修改

chenweida 8 tahun lalu
induk
melakukan
89ed5f61b8

+ 1 - 1
patient-co-figure/src/main/java/com/yihu/figure/dao/patient/PatientInfoDao.java

@ -16,6 +16,6 @@ public interface PatientInfoDao extends PagingAndSortingRepository<PatientInfo,
    @Query("from PatientInfo p ")
    @Query("from PatientInfo p ")
    List<PatientInfo> findAllPatient();
    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();
    List<PatientInfo> findByHasCode();
}
}