diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.java b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.java index aab6849b78..791044b1bb 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.java +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.java @@ -12,12 +12,13 @@ public interface ExtTestCaseReviewMapper { List list(@Param("request") QueryCaseReviewRequest params); - List listByWorkspaceId(@Param("workspaceId") String workspaceId); + List listByWorkspaceId(@Param("workspaceId") String workspaceId, @Param("userId") String userId); List listRelate(@Param("request") QueryTestReviewRequest request); /** * 检查某工作空间下是否有某测试评审 + * * @param reviewId * @param workspaceId * @return Review ID diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.xml index d0eac18a7f..4c1976ad86 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseReviewMapper.xml @@ -27,11 +27,18 @@