|
@@ -68,10 +68,10 @@
|
|
|
<if test="name != null and name!= ''">
|
|
|
AND a.name LIKE CONCAT('%', #{name}, '%')
|
|
|
</if>
|
|
|
- <if test="leaveHosDateStart != null and leaveHosDateStart!=''">
|
|
|
+ <if test="leaveHosDateStart != null">
|
|
|
<![CDATA[ and a.leave_hospital_date >= #{leaveHosDateStart}]]>
|
|
|
</if>
|
|
|
- <if test="leaveHosDateEnd != nulland leaveHosDateEnd!=''">
|
|
|
+ <if test="leaveHosDateEnd != null">
|
|
|
<![CDATA[ and a.leave_hospital_date < #{leaveHosDateEnd}]]>
|
|
|
</if>
|
|
|
ORDER BY gmtModified DESC
|