fix(测试计划): 生成报告未排除已删除的用例

--bug=1041040 --user=宋昌昌 【测试计划】计划列表-复制计划-执行计划后生成报告-用例总数和用例明细比实际多-统计数据全部错误 https://www.tapd.cn/55049933/s/1519080
This commit is contained in:
song-cc-rock 2024-05-23 11:46:54 +08:00 committed by 刘瑞斌
parent 12fb7ecd59
commit ec46aedefc
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
from test_plan_functional_case tpfc join functional_case fc on tpfc.functional_case_id = fc.id
left join functional_case_module fcm on fcm.id = fc.module_id
left join bug_relation_case brc on brc.test_plan_case_id = tpfc.id
where tpfc.test_plan_id = #{id}
where tpfc.test_plan_id = #{id} and fc.deleted = false
group by tpfc.id
</select>