fix(测试跟踪): 首页计划遗留缺陷统计Local平台有误

--bug=1025907 --user=宋昌昌 【测试跟踪】首页-测试计划遗留缺陷统计-在测试计划里新建了缺陷,首页统计没增加 https://www.tapd.cn/55049933/s/1367441
This commit is contained in:
song-cc-rock 2023-04-27 10:06:11 +08:00 committed by fit2-zhao
parent 056e8b1a62
commit ebb6174e59

View File

@ -183,7 +183,7 @@
join test_plan tp on tp.id = tptc.plan_id
join test_case_issues tci on tptc.id = tci.resource_id
join issues i on tci.issues_id = i.id
where tptc.is_del != 1 and i.platform_status != 'delete' and tp.project_id = #{projectId}
where tptc.is_del != 1 and (i.platform_status is null or i.platform_status != 'delete') and tp.project_id = #{projectId}
</select>
<select id="getIssueCustomFields" resultType="io.metersphere.xpack.track.dto.IssuesDao">