mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(测试跟踪): 首页遗留缺陷占比统计错误
--bug=1017609 --user=陈建星 【测试跟踪】首页遗留缺陷统计总数和占比有统计错误 https://www.tapd.cn/55049933/s/1293338
This commit is contained in:
parent
e765433d40
commit
e5c044d512
@ -891,19 +891,8 @@
|
||||
select distinct tci.issues_id
|
||||
from test_plan_test_case tptc
|
||||
join test_case_issues tci on tptc.id = tci.resource_id
|
||||
right join test_case
|
||||
on test_case.id = tci.ref_id
|
||||
join issues
|
||||
on tci.issues_id = issues.id
|
||||
where tptc.plan_id = #{planId}
|
||||
and test_case.status != 'Trash'
|
||||
union distinct
|
||||
select distinct tci.issues_id
|
||||
from test_plan_test_case tptc
|
||||
join test_case_issues tci on tptc.id = tci.resource_id
|
||||
join issues
|
||||
on tci.issues_id = issues.id
|
||||
where tptc.plan_id = #{planId}
|
||||
join issues on tci.issues_id = issues.id
|
||||
where tptc.plan_id = #{planId} and tptc.is_del != 1
|
||||
</select>
|
||||
<select id="getTestPlanCase" resultType="int">
|
||||
select count(s)
|
||||
|
Loading…
Reference in New Issue
Block a user