|
@@ -109,9 +109,6 @@
|
|
|
<if test="deptName != null and deptName != ''">
|
|
|
and a.dept_name like CONCAT('%',#{deptName},'%')
|
|
|
</if>
|
|
|
- <if test="deptId != null and deptId != ''">
|
|
|
- and a.dept_id= #{deptId}
|
|
|
- </if>
|
|
|
<if test="startDate != null">
|
|
|
<![CDATA[ and a.gmt_create >= #{startDate}]]>
|
|
|
</if>
|
|
@@ -210,9 +207,6 @@
|
|
|
<if test="hospitalId != null and hospitalId != ''">
|
|
|
AND b.hospital_id = #{hospitalId}
|
|
|
</if>
|
|
|
- <if test="deptId != null and deptId != ''">
|
|
|
- and b.beh_dept_id = #{deptId}
|
|
|
- </if>
|
|
|
<if test="deptName != null and deptName != ''">
|
|
|
and b.beh_dept_name like CONCAT('%',#{deptName},'%')
|
|
|
</if>
|