|
@ -38,7 +38,7 @@ public interface DoctorDao extends PagingAndSortingRepository<Doctor, Long>, Jpa
|
|
Iterable<Doctor> findHospitalDoctors(String hospital);
|
|
Iterable<Doctor> findHospitalDoctors(String hospital);
|
|
|
|
|
|
// 手机号查询医生信息
|
|
// 手机号查询医生信息
|
|
@Query("select p from Doctor p where p.mobile = ?1")
|
|
|
|
|
|
@Query("select p from Doctor p where p.mobile = ?1 and p.status = 1")
|
|
Doctor findByMobile(String mobile);
|
|
Doctor findByMobile(String mobile);
|
|
|
|
|
|
// 根据医生分组查询患者信息
|
|
// 根据医生分组查询患者信息
|