Skip to content

Commit 8491216

Browse files
authored
[Fix-17182][Dependent Task] error occured in dependent task node (#17183)
1 parent bdec8b1 commit 8491216

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
AND context_type = #{contextType}
4040
</delete>
4141

42-
<update id="updateByTaskInstanceId">
42+
<update id="updateTaskInstanceContextByTaskInstanceIdAndContextType">
4343
UPDATE t_ds_task_instance_context
4444
SET
4545
context = #{context}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
select task_code, max(end_time) as max_end_time
246246
from t_ds_task_instance
247247
where 1=1 and test_flag = #{testFlag}
248-
and instance.workflow_instance_id = #{workflowInstanceId}
248+
and workflow_instance_id = #{workflowInstanceId}
249249
<if test="taskCodes != null and taskCodes.size() != 0">
250250
and task_code in
251251
<foreach collection="taskCodes" index="index" item="i" open="(" separator="," close=")">

0 commit comments

Comments
 (0)