chengyao hace 3 años
padre
commit
33e5c5f324
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/main/resources/mapper/MedClickInfoMapper.xml

+ 2 - 2
src/main/resources/mapper/MedClickInfoMapper.xml

@@ -269,7 +269,7 @@
             and b.behospital_code like CONCAT('%',#{behospitalCode},'%')
         </if>
         <if test="doctorId != null and doctorId != ''">
-            and b.doctor_id = #{doctor_id}
+            and b.doctor_id like CONCAT('%',#{doctorId},'%')
         </if>
         <if test="doctorName != null and doctorName != ''">
             and b.doctor_name like CONCAT('%',#{doctorName},'%')
@@ -317,7 +317,7 @@
             and a.dept_name = #{deptName}
         </if>
         <if test="doctorId != null and doctorId != ''">
-            and b.doctor_id = #{doctor_id}
+            and b.doctor_id like CONCAT('%',#{doctorId},'%')
         </if>
         <if test="doctorName != null and doctorName != ''">
             and b.doctor_name like CONCAT('%',#{doctorName},'%')