|
@ -42,6 +42,9 @@ public interface SignFamilyDao extends PagingAndSortingRepository<SignFamily, Lo
|
|
|
|
|
|
SignFamily findByTeamCode(String TeamCode);
|
|
|
|
|
|
@Query("select a from SignFamily a where a.teamCode = ?1 and a.type = 2 and a.status >= 0 and a.signYear =?2")
|
|
|
SignFamily findByTeamCodeIsValid(String teamCode,String signYear);
|
|
|
|
|
|
@Query("select a from SignFamily a where a.doctor = ?1 and a.patient = ?2 and a.type = 2 and a.status >= 0")
|
|
|
SignFamily findByDoctorPatient(String doctor, String patient);
|
|
|
|