From dad453b1fb5d60495f085ce5d73320c0513b508e Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 27 Apr 2022 13:21:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83=E6=95=B0=E9=87=8F=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E8=B0=83=E6=95=B4=E7=BB=9F=E8=AE=A1(running,starting,?= =?UTF-8?q?waiting)=E4=B8=89=E7=A7=8D=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/base/mapper/ext/ExtTaskMapper.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTaskMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTaskMapper.xml index 4a95ef951f..8a6c0d5dc8 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTaskMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTaskMapper.xml @@ -93,7 +93,7 @@ and t.user_id = #{request.executor} - and t.status not in ("saved","completed","success","error","STOP") + and t.status in ("running","starting","waiting") ) UNION ALL (select t.id,'API' as executionModule, t.report_type, ifnull(t2.name,'LOCAL') as actuator, t1.`name` as executor,t.create_time as executionTime, ifnull(t.trigger_mode,'MANUAL') as triggerMode ,ifnull(t.status,'Saved') as executionStatus @@ -113,7 +113,7 @@ and t.user_id = #{request.executor} and (t.integrated_report_id is null or t.integrated_report_id = 'null') - and t.status not in ("saved","completed","success","error","STOP") + and t.status in ("running","starting","waiting") ) UNION ALL (select t.id,'PERFORMANCE' as executionModule,'PERFORMANCE' as report_type, ifnull(t2.name,'LOCAL') as actuator, t1.`name` as executor,t.create_time as executionTime, t.trigger_mode as triggerMode ,t.`status` as executionStatus @@ -131,7 +131,7 @@ and t.user_id = #{request.executor} - and t.status not in ("saved","completed","success","error") + and t.status in ("running","starting","waiting") ) )tt;