fix(测试跟踪): 测试计划列表测试进度显示不对
--bug=1013886 --user=陈建星 【测试跟踪】测试计划列表,显示的测试进度不对 https://www.tapd.cn/55049933/s/1176724
This commit is contained in:
parent
86e100af2a
commit
e9bfd1cd41
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue