From fde2c8073e956a50ea36fc370613c3e5db85e176 Mon Sep 17 00:00:00 2001 From: Kerwin <37063904+zhuangchong@users.noreply.github.com> Date: Thu, 5 Jan 2023 12:15:02 +0800 Subject: [PATCH] Fix that when the timing data is not configured with environmental information, the timing management does not display the data. (#13339) --- .../org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.xml b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.xml index 3849ca87e2..c61db466de 100644 --- a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.xml +++ b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.xml @@ -37,7 +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 + left join t_ds_environment as e on s.environment_code = e.code where 1=1 and s.process_definition_code = #{processDefinitionCode}