|
@ -49,7 +49,7 @@ public interface SignFamilyRenewDao extends PagingAndSortingRepository<SignFamil
|
|
|
@Query("select a from SignFamilyRenew a where a.patient = ?1 and a.type = 2 and a.status = 0")
|
|
|
SignFamilyRenew findSigningByPatient(String patient);
|
|
|
|
|
|
@Query("select a from SignFamilyRenew a where a.teamCode = ?1 and a.type = 2 and a.code = ?2")
|
|
|
@Query("select a from SignFamilyRenew a where a.teamCode = ?1 and a.type = 2 and a.code = ?2 and a.isValid =0")
|
|
|
List<SignFamilyRenew> findByTeamCodeIsValid(String teamCode,String code);
|
|
|
|
|
|
SignFamilyRenew findByCode(String code);
|