We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a99c25d commit a5c20a0Copy full SHA for a5c20a0
1 file changed
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapper.xml
@@ -245,6 +245,7 @@
245
from t_ds_task_instance
246
where 1=1
247
and workflow_instance_id = #{workflowInstanceId}
248
+ and state != 8
249
<if test="taskCodes != null and taskCodes.size() != 0">
250
and task_code in
251
<foreach collection="taskCodes" index="index" item="i" open="(" separator="," close=")">
@@ -263,6 +264,7 @@
263
264
265
where workflow_instance_id = #{workflowInstanceId}
266
and task_code = #{taskCode}
267
268
order by end_time desc limit 1
269
</select>
270
0 commit comments