|
@@ -175,10 +175,13 @@ public interface FsDoctorMapper
|
|
Long selectFsDoctorType2Ids(Integer type);
|
|
Long selectFsDoctorType2Ids(Integer type);
|
|
@Select("select * from fs_doctor where doctor_id=#{doctorId} for update")
|
|
@Select("select * from fs_doctor where doctor_id=#{doctorId} for update")
|
|
FsDoctor selectFsDoctorByDoctorIdForUpdate(Long doctorId);
|
|
FsDoctor selectFsDoctorByDoctorIdForUpdate(Long doctorId);
|
|
|
|
+
|
|
@Select("select * from fs_doctor where doctor_type=2 and `status`=1 and is_audit=1 and sign_url is not null and audit_type LIKE CONCAT('%', #{type}, '%') ORDER BY RAND() LIMIT 1")
|
|
@Select("select * from fs_doctor where doctor_type=2 and `status`=1 and is_audit=1 and sign_url is not null and audit_type LIKE CONCAT('%', #{type}, '%') ORDER BY RAND() LIMIT 1")
|
|
FsDoctor selectPackageFsDoctorType2Ids(Integer type);
|
|
FsDoctor selectPackageFsDoctorType2Ids(Integer type);
|
|
|
|
+
|
|
@Select("select doctor_id from fs_doctor where doctor_type=1 and `status`=1 and is_audit=1 and is_agreement_prescribe_doctor=1 and sign_url is not null")
|
|
@Select("select doctor_id from fs_doctor where doctor_type=1 and `status`=1 and is_audit=1 and is_agreement_prescribe_doctor=1 and sign_url is not null")
|
|
List<Long> selectFsDoctorDoctorByPackage();
|
|
List<Long> selectFsDoctorDoctorByPackage();
|
|
|
|
+
|
|
@Select("select doctor_id from fs_doctor where doctor_type=1 and `status`=1 and is_audit=1 and dept_id=39 and is_follow=1 ORDER BY RAND() LIMIT 1")
|
|
@Select("select doctor_id from fs_doctor where doctor_type=1 and `status`=1 and is_audit=1 and dept_id=39 and is_follow=1 ORDER BY RAND() LIMIT 1")
|
|
Long selectFollowDoctorDoctorByPackage();
|
|
Long selectFollowDoctorDoctorByPackage();
|
|
@Select("select * from fs_doctor where doctor_type=1 and `status`=1 and is_audit=1 and dept_id=39 ")
|
|
@Select("select * from fs_doctor where doctor_type=1 and `status`=1 and is_audit=1 and dept_id=39 ")
|