Browse Source

Update TaskInstanceMapper.xml

optimize page of [TaskInstance] load data slow
pull/3/MERGE
wangxj3 4 years ago committed by GitHub
parent
commit
96c7a8c7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapper.xml

4
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapper.xml

@ -120,8 +120,8 @@
,
process.name as process_instance_name
from t_ds_task_instance instance
join t_ds_process_definition define on instance.process_definition_id = define.id
join t_ds_process_instance process on process.id=instance.process_instance_id
left join t_ds_process_definition define on instance.process_definition_id = define.id
left join t_ds_process_instance process on process.id=instance.process_instance_id
where define.project_id = #{projectId}
<if test="startTime != null">
and instance.start_time > #{startTime} and instance.start_time <![CDATA[ <=]]> #{endTime}

Loading…
Cancel
Save