|
@@ -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},'%')
|