|
@ -35,6 +35,9 @@ public interface SignFamilyDao extends PagingAndSortingRepository<SignFamily, Lo
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and status = ?2 and a.type = 2")
|
|
|
SignFamily findByPatientCodeStatus(String patient, int status);
|
|
|
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and status >= ?2 and a.type = 2")
|
|
|
SignFamily findByPatientCodeStatus2(String patient, int status);
|
|
|
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and a.type = ?2 and a.status >= 1")
|
|
|
SignFamily findByPatientAndType(String patient, int type);
|
|
|
|