[FIX-5975]queryLastRunningProcess sql in ProcessInstanceMapper.xml (#5980)
This commit is contained in:
parent
f7e0e9fecf
commit
2afa625a75
|
|
@ -191,8 +191,8 @@
|
|||
</foreach>
|
||||
</if>
|
||||
<if test="startTime!=null and endTime != null ">
|
||||
and (schedule_time <![CDATA[ >= ]]> #{startTime} and schedule_time <![CDATA[ <= ]]> #{endTime}
|
||||
or start_time <![CDATA[ >= ]]> #{startTime} and start_time <![CDATA[ <= ]]> #{endTime})
|
||||
and ((schedule_time <![CDATA[ >= ]]> #{startTime} and schedule_time <![CDATA[ <= ]]> #{endTime})
|
||||
or (start_time <![CDATA[ >= ]]> #{startTime} and start_time <![CDATA[ <= ]]> #{endTime}))
|
||||
</if>
|
||||
order by start_time desc limit 1
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue