|
@@ -1035,7 +1035,7 @@
|
|
|
AND d.cases_id = #{filterPageVO.casesId}
|
|
|
</if>
|
|
|
<if test="filterPageVO.casesName != null and filterPageVO.casesName != ''">
|
|
|
- AND e.cases_name like CONCAT('%', #{filterPageVO.casesName},'%')
|
|
|
+ AND e.cases_name = #{filterPageVO.casesName}
|
|
|
</if>
|
|
|
<if test="filterPageVO.hospitalId != null and filterPageVO.hospitalId != ''">
|
|
|
AND a.hospital_id = #{filterPageVO.hospitalId}
|
|
@@ -1091,7 +1091,7 @@
|
|
|
AND d.cases_id = #{filterPageVO.casesId}
|
|
|
</if>
|
|
|
<if test="filterPageVO.casesName != null and filterPageVO.casesName != ''">
|
|
|
- AND e.cases_name like CONCAT('%', #{filterPageVO.casesName},'%')
|
|
|
+ AND e.cases_name = #{filterPageVO.casesName}
|
|
|
</if>
|
|
|
<if test="filterPageVO.hospitalId != null and filterPageVO.hospitalId != ''">
|
|
|
AND a.hospital_id = #{filterPageVO.hospitalId}
|
|
@@ -1102,9 +1102,6 @@
|
|
|
<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>
|
|
|
<if test="filterPageVO.deptName != null and filterPageVO.deptName != ''">
|
|
|
AND a.beh_dept_name = #{filterPageVO.deptName}
|
|
|
</if>
|
|
@@ -1410,7 +1407,7 @@
|
|
|
AND d.cases_id = #{filterPageByDeptVO.casesId}
|
|
|
</if>
|
|
|
<if test="filterPageByDeptVO.casesName != null and filterPageByDeptVO.casesName != ''">
|
|
|
- AND e.cases_name like CONCAT('%', #{filterPageByDeptVO.casesName},'%')
|
|
|
+ AND e.cases_name = #{filterPageByDeptVO.casesName}
|
|
|
</if>
|
|
|
<if test="filterPageByDeptVO.userId!=null">
|
|
|
AND f.user_id = #{filterPageByDeptVO.userId}
|
|
@@ -1481,7 +1478,7 @@
|
|
|
AND d.cases_id = #{filterPageByDeptVO.casesId}
|
|
|
</if>
|
|
|
<if test="filterPageByDeptVO.casesName != null and filterPageByDeptVO.casesName != ''">
|
|
|
- AND e.cases_name like CONCAT('%', #{filterPageByDeptVO.casesName},'%')
|
|
|
+ AND e.cases_name = #{filterPageByDeptVO.casesName}
|
|
|
</if>
|
|
|
<if test="filterPageByDeptVO.userId!=null">
|
|
|
AND f.user_id = #{filterPageByDeptVO.userId}
|
|
@@ -1495,9 +1492,6 @@
|
|
|
<if test="filterPageByDeptVO.endDate != null and filterPageByDeptVO.endDate != ''">
|
|
|
<![CDATA[AND a.leave_hospital_date < DATE(#{filterPageByDeptVO.endDate})]]>
|
|
|
</if>
|
|
|
- <if test="filterPageByDeptVO.name != null and filterPageByDeptVO.name != ''">
|
|
|
- AND e.name like CONCAT('%', #{filterPageByDeptVO.name},'%')
|
|
|
- </if>
|
|
|
<if test="filterPageByDeptVO.deptName != null and filterPageByDeptVO.deptName != ''">
|
|
|
AND a.beh_dept_name = #{filterPageByDeptVO.deptName}
|
|
|
</if>
|