fix(接口测试): 任务重跑后,更新任务状态有误
--bug=1049629 --user=陈建星 【任务中心】即时任务重跑成功后执行结果和操作项未更新 https://www.tapd.cn/55049933/s/1618725
This commit is contained in:
parent
469dceb6d8
commit
53cf2d2d82
|
@ -201,15 +201,15 @@
|
|||
<select id="hasErrorItem" resultType="java.lang.Boolean">
|
||||
SELECT COUNT(1)
|
||||
FROM exec_task_item
|
||||
WHERE task_id = #{taskId} AND `result` = 'ERROR'
|
||||
limit 1
|
||||
WHERE task_id = #{taskId} AND `result` = 'ERROR' and deleted = 0
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<select id="hasFakeErrorItem" resultType="java.lang.Boolean">
|
||||
SELECT COUNT(1)
|
||||
FROM exec_task_item
|
||||
WHERE task_id = #{taskId} AND `result` = 'FAKE_ERROR'
|
||||
limit 1
|
||||
WHERE task_id = #{taskId} AND `result` = 'FAKE_ERROR' and deleted = 0
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<select id="getItemIdByTaskIds" resultType="java.lang.String">
|
||||
|
|
Loading…
Reference in New Issue