fix(测试跟踪): 测试计划列表测试进度显示不对

--bug=1013886 --user=陈建星 【测试跟踪】测试计划列表,显示的测试进度不对 https://www.tapd.cn/55049933/s/1176724
This commit is contained in:
chenjianxing 2022-06-08 17:57:09 +08:00 committed by jianxing
parent 86e100af2a
commit e9bfd1cd41
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ public class TestPlanService {
Integer functionalExecTotal = 0;
for (CountMapDTO item : statusCountMap) {
functionalExecTotal++;
functionalExecTotal += functionalExecTotal + item.getValue();
if (!StringUtils.equals(item.getKey(), TestPlanTestCaseStatus.Prepare.name())
&& !StringUtils.equals(item.getKey(), TestPlanTestCaseStatus.Underway.name())) {
testPlan.setTested(testPlan.getTested() + item.getValue());