fix(测试跟踪): 第三方平台缺陷关联测试计划首页缺陷统计问题

--bug=1024680 --user=宋昌昌 【测试跟踪】缺陷管理-创建缺陷A-测试计划中关联该缺陷A,在缺陷管理中编辑缺陷状态为“删除”,首页仍统计该缺陷 https://www.tapd.cn/55049933/s/1353854
--bug=1024686 --user=宋昌昌 【测试跟踪】项目集成tapd缺陷平台,测试计划关联了缺陷状态是“已验证”的,首页未统计 https://www.tapd.cn/55049933/s/1353921
This commit is contained in:
song-cc-rock 2023-03-21 18:05:59 +08:00
parent 5aaaa0cfc1
commit 71f6913036
5 changed files with 11 additions and 3 deletions

View File

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

View File

@ -12,7 +12,9 @@ public enum IssueStatus {
status_in_progress("in_progress", "in_progress"),
status_rejected("rejected", "rejected"),
status_upcoming("upcoming", "upcoming"),
status_reopened("reopened", "reopened");
status_reopened("reopened", "reopened"),
status_verified("verified", "verified"),
status_suspended("suspended", "suspended");
private String name;
private String i18nKey;

View File

@ -74,6 +74,8 @@ in_progress=in_progress
rejected=rejected
upcoming=upcoming
reopened=reopened
verified=verified
suspended=suspended
#project
project_name_is_null=Project name cannot be null
project_name_already_exists=The project name already exists

View File

@ -51,6 +51,8 @@ in_progress=接受/处理
rejected=已拒绝
upcoming=待办
reopened=重新打开
verified=已验证
suspended=挂起
#project
project_name_is_null=项目名称不能为空
project_name_already_exists=项目名称已存在

View File

@ -51,6 +51,8 @@ in_progress=接受/處理
rejected=已拒絕
upcoming=待辦
reopened=重新打開
verified=已驗證
suspended=掛起
#project
project_name_is_null=項目名稱不能為空
project_name_already_exists=項目名稱已存在