fix(测试计划): 修复测试计划列表完成执行后执行状态错误

--bug=1015942 --user=刘瑶 【测试跟踪】github#16977,在测试计划列表列表中点击【执行】,完成执行后。该计划当前状态不对:测试进度非100%,但是当前状态为“完成”。 https://www.tapd.cn/55049933/s/1232711

Closes#16977
This commit is contained in:
nathan.liu 2022-08-24 18:53:52 +08:00 committed by nathanliu2022
parent 02fb1f3f67
commit a7ff9006f3
3 changed files with 3 additions and 2 deletions

View File

@ -499,6 +499,7 @@ public class TestPlanService {
statusList.addAll(testPlanApiCaseService.getExecResultByPlanId(testPlanId));
statusList.addAll(testPlanScenarioCaseService.getExecResultByPlanId(testPlanId));
statusList.addAll(testPlanLoadCaseService.getStatus(testPlanId));
statusList.addAll(testPlanUiScenarioCaseService.getExecResultByPlanId(testPlanId));
TestPlanWithBLOBs testPlanWithBLOBs = testPlanMapper.selectByPrimaryKey(testPlanId);
//如果测试计划是已归档状态不处理
if (testPlanWithBLOBs.getStatus().equals(TestPlanStatus.Archived.name())) {

@ -1 +1 @@
Subproject commit 7cdda1b8f4554cb4185997d6a6beb2bc72809eed
Subproject commit 73584558c69e47496daa0e40b19f162c479693f8

@ -1 +1 @@
Subproject commit dc732de11799623169ffa05a230fc33540704a65
Subproject commit 57f594ed643407d3a5513515dceda4c7ca2c1352