chengyao 3 gadi atpakaļ
vecāks
revīzija
33e5c5f324
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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},'%')