diff --git a/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 74a4e65be1..20be88d7bd 100644 --- a/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -198,6 +198,7 @@ and tc.review_status in ('Prepare','Pass','UnPass') and tc.create_user = #{userId,jdbcType=VARCHAR} + and (tc.status is null or tc.status != 'Trash');