optimize the process instance query, change the date time range (#11719)
This commit is contained in:
parent
67e7f88d8b
commit
d0f5e7edf3
|
|
@ -122,8 +122,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
|
||||
|
|
|
|||
Loading…
Reference in New Issue