|
|
@@ -177,11 +177,11 @@ public interface FsDoctorMapper
|
|
|
@Select("select * from fs_doctor where doctor_id=#{doctorId} for update")
|
|
|
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")
|
|
|
- FsDoctor selectPackageFsDoctorType2Ids(Integer type);
|
|
|
+ @Select("select * from fs_doctor where doctor_type=2 and `status`=1 and is_audit=1 and sign_url is not null ORDER BY RAND() LIMIT 1")
|
|
|
+ FsDoctor selectPackageFsDoctorType2Ids();
|
|
|
|
|
|
//根据入参类型随机返回一个在线药师
|
|
|
- FsDoctor selectRandomOnlineDoctorForPackage(@Param("type") Integer type);
|
|
|
+ FsDoctor selectRandomOnlineDoctorForPackage();
|
|
|
|
|
|
@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();
|