fix(测试跟踪): 评审列表用例数统计排除掉回收站及删除的用例
--bug=1033844 --user=宋昌昌 【用例评审】历史创建的评审,进入评审页面,看不到数据 https://www.tapd.cn/55049933/s/1447335
This commit is contained in:
parent
091f9e855c
commit
be9fee99a3
|
@ -3,7 +3,7 @@
|
||||||
<mapper namespace="io.metersphere.base.mapper.ext.ExtTestCaseReviewTestCaseMapper">
|
<mapper namespace="io.metersphere.base.mapper.ext.ExtTestCaseReviewTestCaseMapper">
|
||||||
<select id="getCaseStatusByReviewIds" resultType="io.metersphere.base.domain.TestCaseReviewTestCase">
|
<select id="getCaseStatusByReviewIds" resultType="io.metersphere.base.domain.TestCaseReviewTestCase">
|
||||||
select tcrtc.id, tcrtc.status, tcrtc.review_id
|
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
|
where tcrtc.is_del = 0 and tcrtc.review_id in
|
||||||
<foreach collection="reviewIds" item="reviewId" separator="," open="(" close=")">
|
<foreach collection="reviewIds" item="reviewId" separator="," open="(" close=")">
|
||||||
#{reviewId}
|
#{reviewId}
|
||||||
|
|
Loading…
Reference in New Issue