diff --git a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkflowInstanceMapper.xml b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkflowInstanceMapper.xml index 906e72137f27..168a8902f803 100644 --- a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkflowInstanceMapper.xml +++ b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkflowInstanceMapper.xml @@ -27,6 +27,15 @@ workflow_instance_priority, worker_group,environment_code, timeout, tenant_code, var_pool, dry_run, next_workflow_instance_id, restart_time, state_history + + id + , name, workflow_definition_version, workflow_definition_code, project_code, state, recovery, start_time, end_time, run_times,host, + command_type, task_depend_type, max_try_times, failure_strategy, warning_type, + warning_group_id, schedule_time, command_start_time, flag, + update_time, is_sub_workflow, executor_id, + workflow_instance_priority, worker_group,environment_code, timeout, tenant_code, + dry_run, next_workflow_instance_id, restart_time + select - + from t_ds_workflow_instance where state = #{status} @@ -77,7 +86,7 @@ - select - + from t_ds_workflow_instance where is_sub_workflow=0 and project_code = #{projectCode} @@ -195,7 +203,7 @@ - - select - + from t_ds_workflow_instance where workflow_definition_code=#{workflowDefinitionCode} @@ -286,10 +292,9 @@ order by id asc - SELECT - + FROM t_ds_workflow_instance where is_sub_workflow=0 @@ -357,7 +362,7 @@