|
@ -431,6 +431,6 @@ public interface SignFamilyDao extends PagingAndSortingRepository<SignFamily, Lo
|
|
int hasSignCount(String idcard);
|
|
int hasSignCount(String idcard);
|
|
|
|
|
|
//根据patient查找有效签约的hospital
|
|
//根据patient查找有效签约的hospital
|
|
@Query("select a.hospital from SignFamily a where a.patient = ?1 and (a.status = 1 or a.status = 2) and a.expensesStatus = '1'")
|
|
|
|
|
|
@Query("select a.hospital from SignFamily a where a.patient = ?1 and a.status = 1 and a.expensesStatus = '1'")
|
|
String getHospital(String patient);
|
|
String getHospital(String patient);
|
|
}
|
|
}
|