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:
parent
6ced16f461
commit
9a6cc74dd6
|
@ -181,8 +181,8 @@
|
||||||
from test_plan_test_case tptc
|
from test_plan_test_case tptc
|
||||||
join test_plan tp on tp.id = tptc.plan_id
|
join test_plan tp on tp.id = tptc.plan_id
|
||||||
join test_case_issues tci on tptc.id = tci.resource_id
|
join test_case_issues tci on tptc.id = tci.resource_id
|
||||||
join issues on tci.issues_id = issues.id
|
join issues i on tci.issues_id = i.id
|
||||||
where tptc.is_del != 1 and tp.project_id = #{projectId}
|
where tptc.is_del != 1 and i.platform_status != 'delete' and tp.project_id = #{projectId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getIssueCustomFields" resultType="io.metersphere.xpack.track.dto.IssuesDao">
|
<select id="getIssueCustomFields" resultType="io.metersphere.xpack.track.dto.IssuesDao">
|
||||||
|
|
|
@ -12,7 +12,9 @@ public enum IssueStatus {
|
||||||
status_in_progress("in_progress", "in_progress"),
|
status_in_progress("in_progress", "in_progress"),
|
||||||
status_rejected("rejected", "rejected"),
|
status_rejected("rejected", "rejected"),
|
||||||
status_upcoming("upcoming", "upcoming"),
|
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 name;
|
||||||
private String i18nKey;
|
private String i18nKey;
|
||||||
|
|
|
@ -74,6 +74,8 @@ in_progress=in_progress
|
||||||
rejected=rejected
|
rejected=rejected
|
||||||
upcoming=upcoming
|
upcoming=upcoming
|
||||||
reopened=reopened
|
reopened=reopened
|
||||||
|
verified=verified
|
||||||
|
suspended=suspended
|
||||||
#project
|
#project
|
||||||
project_name_is_null=Project name cannot be null
|
project_name_is_null=Project name cannot be null
|
||||||
project_name_already_exists=The project name already exists
|
project_name_already_exists=The project name already exists
|
||||||
|
|
|
@ -51,6 +51,8 @@ in_progress=接受/处理
|
||||||
rejected=已拒绝
|
rejected=已拒绝
|
||||||
upcoming=待办
|
upcoming=待办
|
||||||
reopened=重新打开
|
reopened=重新打开
|
||||||
|
verified=已验证
|
||||||
|
suspended=挂起
|
||||||
#project
|
#project
|
||||||
project_name_is_null=项目名称不能为空
|
project_name_is_null=项目名称不能为空
|
||||||
project_name_already_exists=项目名称已存在
|
project_name_already_exists=项目名称已存在
|
||||||
|
|
|
@ -51,6 +51,8 @@ in_progress=接受/處理
|
||||||
rejected=已拒絕
|
rejected=已拒絕
|
||||||
upcoming=待辦
|
upcoming=待辦
|
||||||
reopened=重新打開
|
reopened=重新打開
|
||||||
|
verified=已驗證
|
||||||
|
suspended=掛起
|
||||||
#project
|
#project
|
||||||
project_name_is_null=項目名稱不能為空
|
project_name_is_null=項目名稱不能為空
|
||||||
project_name_already_exists=項目名稱已存在
|
project_name_already_exists=項目名稱已存在
|
||||||
|
|
Loading…
Reference in New Issue