diff --git a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml index b58467bd6d..4110b20caf 100644 --- a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml +++ b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml @@ -467,19 +467,19 @@ - and (t1.status IS NULL or t1.status NOT IN ('SUCCESS','ERROR','FAKE_ERROR') ) + and (t3.status IS NULL or t3.status NOT IN ('SUCCESS','ERROR','FAKE_ERROR') ) - and t1.status = 'SUCCESS' + and t3.status = 'SUCCESS' - and t1.status = 'ERROR' + and t3.status = 'ERROR' - and t1.status = 'FAKE_ERROR' + and t3.status = 'FAKE_ERROR' - and t1.status IN ('SUCCESS','ERROR','FAKE_ERROR') + and t3.status IN ('SUCCESS','ERROR','FAKE_ERROR') @@ -1022,23 +1022,29 @@ from api_test_case where id = #{0} -