Commit 0b14551b by jinxin

空串判空处理

parent 7d3ead7c
......@@ -349,10 +349,10 @@
and a.expire_time is not null
</if>
</if>
<if test="null != startTime">
<if test="null != startTime and startTime !='' ">
and a.expire_time <![CDATA[>=]]> #{startTime}
</if>
<if test="null != endTime">
<if test="null != endTime and endTime !='' ">
and a.expire_time <![CDATA[<=]]> #{endTime}
</if>
<if test="departmentIds != null and departmentIds.size() > 0">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment