浏览代码

时间优化1

wangfeng 5 年之前
父节点
当前提交
0977ea1658
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mrman-service/src/main/resources/mapper/StdBehospitalInfoMapper.xml

+ 2 - 2
mrman-service/src/main/resources/mapper/StdBehospitalInfoMapper.xml

@@ -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