未验证 提交 39d5a727 编写于 作者: J JiPeng Wang 提交者: GitHub

Merge pull request #100 from WhaleOps/feat/date-range

optimize the process instance query, change the date time range (#11719)
......@@ -114,8 +114,8 @@
<if test="searchVal != null and searchVal != ''">
and instance.name like concat('%', #{searchVal}, '%')
</if>
<if test="startTime != null ">
and instance.start_time > #{startTime} and instance.start_time <![CDATA[ <=]]> #{endTime}
<if test="startTime != null and endTime != null ">
and instance.start_time <![CDATA[ >= ]]> #{startTime} and instance.start_time <![CDATA[ <= ]]> #{endTime}
</if>
<if test="states != null and states.length > 0">
and instance.state in
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册