|
@ -34,7 +34,7 @@ public interface SignFamilyDao extends PagingAndSortingRepository<SignFamily, Lo
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and a.status >= 0")
|
|
|
List<SignFamily> findAllSignByPatient(String patient);
|
|
|
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and a.status > 0 and expensesStatus=1")
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and a.status > 0 and a.expensesStatus='1'")
|
|
|
SignFamily findSignByPatient(String patient);
|
|
|
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and a.status > 0 and a.expensesStatus ='1' order by a.czrq desc")
|