diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml index 9bcc545d2f..c40fafc43b 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml @@ -134,6 +134,12 @@ select case_review_functional_case.case_id from case_review_functional_case where case_review_functional_case.review_id = #{request.reviewId} ) + + AND functional_case.id not in + + #{excludeId} + + diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/request/FunctionalCasePageRequest.java b/backend/services/case-management/src/main/java/io/metersphere/functional/request/FunctionalCasePageRequest.java index 072394bb3c..28560ce997 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/request/FunctionalCasePageRequest.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/request/FunctionalCasePageRequest.java @@ -44,6 +44,7 @@ public class FunctionalCasePageRequest extends BasePageRequest implements Serial @Schema(description = "评审id") private String reviewId; - + @Schema(description = "排除ids") + private List excludeIds; }