|
@ -363,7 +363,7 @@ public interface SignFamilyDao extends PagingAndSortingRepository<SignFamily, Lo
|
|
* @param patient
|
|
* @param patient
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Query("select a from SignFamily a where a.patient = ?1 and a.status <> -1 and a.status <> -2")
|
|
|
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and a.status <> -1 and a.status <> -2 order by a.czrq")
|
|
List<SignFamily> findAllActiveSignByPatient(String patient);
|
|
List<SignFamily> findAllActiveSignByPatient(String patient);
|
|
|
|
|
|
@Query("select a.patient from SignFamily a where a.doctor = ?1 and a.type = 2 and a.status > 0 and a.doctorHealth is null")
|
|
@Query("select a.patient from SignFamily a where a.doctor = ?1 and a.type = 2 and a.status > 0 and a.doctorHealth is null")
|