瀏覽代碼

质控评分科室匹配

chengyao 4 年之前
父節點
當前提交
5b716b0cbd
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/resources/mapper/BehospitalInfoMapper.xml

+ 3 - 3
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -73,7 +73,7 @@
             AND t.diagnose LIKE CONCAT( '%', #{diagnose}, '%' )
         </if>
         <if test="deptName != null and deptName != ''">
-            and t.beh_dept_name LIKE CONCAT( '%', #{deptName}, '%' )
+            and t.beh_dept_name= #{deptName}
         </if>
         <if test="doctorName != null and doctorName != ''">
             and CONCAT(
@@ -3633,7 +3633,7 @@
             OR a.director_doctor_id like CONCAT('%',#{doctorCode},'%'))
         </if>
         <if test="deptName != null and deptName != ''">
-            and a.beh_dept_name LIKE CONCAT( '%', #{deptName}, '%' )
+            and a.beh_dept_name = #{deptName}
         </if>
         <if test="name != null and name != ''">
             AND a.name like CONCAT('%',#{name},'%')
@@ -3691,7 +3691,7 @@
             OR a.director_doctor_id like CONCAT('%',#{doctorCode},'%'))
         </if>
         <if test="deptName != null and deptName != ''">
-            and a.beh_dept_name LIKE CONCAT( '%', #{deptName}, '%' )
+            and a.beh_dept_name = #{deptName}
         </if>
         <if test="name != null and name != ''">
             AND a.name like CONCAT('%',#{name},'%')