|
@ -307,6 +307,9 @@ public interface SignFamilyDao extends PagingAndSortingRepository<SignFamily, Lo
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and a.type =2 and a.status >= 0")
|
|
|
List<SignFamily> findByPatients(String patient);
|
|
|
|
|
|
@Query("select a from SignFamily a where a.patient = ?1 and a.type =2 and a.signYear =?2")
|
|
|
List<SignFamily> findByPatientsLastYear(String patient,String signYear);
|
|
|
|
|
|
@Query("select a from SignFamily a where a.idcard = ?1 and a.type = 1 and a.status >= 0")
|
|
|
SignFamily findBySanshiIdcard(String idcard);
|
|
|
|