|
@@ -293,6 +293,9 @@
|
|
|
<if test="filterPageVO.endDate != null and filterPageVO.endDate != ''">
|
|
|
<![CDATA[AND a.leave_hospital_date < DATE(#{filterPageVO.endDate})]]>
|
|
|
</if>
|
|
|
+ <if test="filterPageVO.name != null and filterPageVO.name != ''">
|
|
|
+ AND e.name like CONCAT('%', #{filterPageVO.name},'%')
|
|
|
+ </if>
|
|
|
GROUP BY
|
|
|
e.id,
|
|
|
e.NAME
|
|
@@ -676,6 +679,9 @@
|
|
|
<if test="filterPageByDeptVO.deptName != null and filterPageByDeptVO.deptName != ''">
|
|
|
AND a.beh_dept_name = #{filterPageByDeptVO.deptName}
|
|
|
</if>
|
|
|
+ <if test="filterPageByDeptVO.name != null and filterPageByDeptVO.name != ''">
|
|
|
+ AND e.name like CONCAT('%', #{filterPageVO.name},'%')
|
|
|
+ </if>
|
|
|
GROUP BY
|
|
|
e.id,
|
|
|
e.NAME,
|