fix(测试跟踪): 评审列表用例数统计排除掉回收站及删除的用例

--bug=1033844 --user=宋昌昌 【用例评审】历史创建的评审,进入评审页面,看不到数据 https://www.tapd.cn/55049933/s/1447335
This commit is contained in:
song-cc-rock 2023-12-22 11:07:10 +08:00 committed by 刘瑞斌
parent 091f9e855c
commit be9fee99a3
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<mapper namespace="io.metersphere.base.mapper.ext.ExtTestCaseReviewTestCaseMapper">
<select id="getCaseStatusByReviewIds" resultType="io.metersphere.base.domain.TestCaseReviewTestCase">
select tcrtc.id, tcrtc.status, tcrtc.review_id
from test_case_review_test_case tcrtc
from test_case_review_test_case tcrtc inner join test_case tc on tc.id = tcrtc.case_id
where tcrtc.is_del = 0 and tcrtc.review_id in
<foreach collection="reviewIds" item="reviewId" separator="," open="(" close=")">
#{reviewId}