소스 검색

bug处理

chengyao 3 년 전
부모
커밋
33e5c5f324
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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},'%')