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