Explorar el Código

益寿缘-scrm推送兔灵

cgp hace 3 semanas
padre
commit
eba19a8d73

+ 3 - 3
fs-service/src/main/java/com/fs/his/mapper/FsDoctorMapper.java

@@ -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();

+ 0 - 1
fs-service/src/main/resources/mapper/his/FsDoctorMapper.xml

@@ -132,7 +132,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
           AND d.status = 1
           AND d.is_audit = 1
           AND d.sign_url IS NOT NULL
-          AND d.audit_type LIKE CONCAT('%', #{type}, '%')
           AND o.is_online = 1
         ORDER BY RAND()
         LIMIT 1