Преглед на файлове

Merge branch 'dev' of chenweida/patient-co-management into dev

chenweida преди 8 години
родител
ревизия
badc119eaf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      patient-co-figure/src/main/java/com/yihu/figure/dao/patient/PatientInfoDao.java

+ 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 ")
    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();
}