|
@ -435,6 +435,6 @@ public interface SignFamilyDao extends PagingAndSortingRepository<SignFamily, Lo
|
|
|
String getHospital(String patient);
|
|
|
|
|
|
//查看团队内医生签约人数
|
|
|
@Query("select count(1) from SignFamily a where a.status >= 0 and a.adminTeamId = ?1 and (a.doctor = ?2 or a.doctorHealth = ?2)")
|
|
|
@Query("select count(1) from SignFamily a where a.status > 0 and a.adminTeamId = ?1 and (a.doctor = ?2 or a.doctorHealth = ?2)")
|
|
|
int countByAdminTeamId(Long adminTeamId, String doctor);
|
|
|
}
|