fix(测试跟踪): 测试计划测试进度显示不正确

--bug=1013886 --user=陈建星 【测试跟踪】测试计划列表,显示的测试进度不对 https://www.tapd.cn/55049933/s/1178056
This commit is contained in:
chenjianxing 2022-06-09 17:53:11 +08:00 committed by jianxing
parent f970469c54
commit 3addd7959a
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 + item.getValue();
functionalExecTotal += item.getValue();
if (!StringUtils.equals(item.getKey(), TestPlanTestCaseStatus.Prepare.name())
&& !StringUtils.equals(item.getKey(), TestPlanTestCaseStatus.Underway.name())) {
testPlan.setTested(testPlan.getTested() + item.getValue());