106umao commented on code in PR #11963:
URL: https://github.com/apache/dolphinscheduler/pull/11963#discussion_r973956063
##########
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapper.xml:
##########
@@ -184,7 +184,10 @@
left join t_ds_process_instance process on
process.id=instance.process_instance_id
where define.project_code = #{projectCode}
<if test="startTime != null">
- and instance.start_time > #{startTime} and instance.start_time
<![CDATA[ <=]]> #{endTime}
+ and instance.start_time <![CDATA[ >=]]> #{startTime}
+ </if>
+ <if test="endTime != null">
+ and instance.start_time <![CDATA[ <=]]> #{endTime}
Review Comment:
Adding indexes is not this pr need to solve the problem, I can the other pr
solve what you have said
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]