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 b3de68fa72..cb2211d16d 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 @@ -102,29 +102,31 @@ and test_case_review.project_id = #{request.projectId} - - - - - - - and test_case_review.stage in - - #{value} - - - - and test_case_review.status in - - #{value} - - - - - - + + + + + + + + and test_case_review.stage in + + + + and test_case_review.status in + + + + and test_case_review.creator in + + + + + + + + + + + + + + + + + AND (( test_plan_principal.principal_id = + '${@io.metersphere.commons.utils.SessionUtils@getUserId()}' and + test_plan.status in + + ) + or + (test_plan_test_case.executor = + '${@io.metersphere.commons.utils.SessionUtils@getUserId()}' and + test_plan_test_case.status in + + )) + AND test_plan.status != 'Archived' + + + and test_plan.status in + + + + + + + + and test_plan.stage in + + + + and test_plan.creator in + + + + and + + + schedule.`enable` = 1 + + + schedule.`enable` = 0 + + + schedule.id is null + + + + + and test_plan.status != 'Archived' + + + + + and test_plan.status != 'Archived' + + + + + - -