diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtExecTaskMapper.xml b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtExecTaskMapper.xml index 0609512ed3..f2492b7c8f 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtExecTaskMapper.xml +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtExecTaskMapper.xml @@ -49,7 +49,7 @@ deleted = false - and status = 'RUNNING' + and status in ('RUNNING', 'RERUNNING') and exec_task.project_id = #{projectId} @@ -126,7 +126,7 @@ and organization_id = #{organizationId} - and `status` = 'RUNNING' + and `status` in ('RUNNING', 'RERUNNING') and deleted = false