|
@@ -70,7 +70,7 @@
|
|
AND t.hospital_id = h.hospital_id
|
|
AND t.hospital_id = h.hospital_id
|
|
where t.is_deleted = 'N'
|
|
where t.is_deleted = 'N'
|
|
<if test="diagnose != null and diagnose != ''">
|
|
<if test="diagnose != null and diagnose != ''">
|
|
- AND a.diagnose LIKE CONCAT( '%', #{diagnose}, '%' )
|
|
|
|
|
|
+ AND t.diagnose LIKE CONCAT( '%', #{diagnose}, '%' )
|
|
</if>
|
|
</if>
|
|
<if test="deptId != null and deptId != ''">
|
|
<if test="deptId != null and deptId != ''">
|
|
and t.beh_dept_id = #{deptId}
|
|
and t.beh_dept_id = #{deptId}
|