|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
${alias}.update_time |
|
|
|
|
</sql> |
|
|
|
|
<select id="queryByProcessDefineCodePaging" resultType="org.apache.dolphinscheduler.dao.entity.Schedule"> |
|
|
|
|
select p_f.name as process_definition_name, p.name as project_name,u.user_name, |
|
|
|
|
select p_f.name as process_definition_name, p.name as project_name,u.user_name,e.name as environment_name, |
|
|
|
|
<include refid="baseSqlV2"> |
|
|
|
|
<property name="alias" value="s"/> |
|
|
|
|
</include> |
|
|
|
@ -37,6 +37,7 @@
|
|
|
|
|
join t_ds_process_definition p_f on s.process_definition_code = p_f.code |
|
|
|
|
join t_ds_project as p on p_f.project_code = p.code |
|
|
|
|
join t_ds_user as u on s.user_id = u.id |
|
|
|
|
join t_ds_environment as e on s.environment_code = e.code |
|
|
|
|
where 1=1 |
|
|
|
|
<if test="processDefinitionCode != 0"> |
|
|
|
|
and s.process_definition_code = #{processDefinitionCode} |
|
|
|
|