perf(测试计划): 修改测试计划查询方法,删除多余逻辑

This commit is contained in:
Jianguo-Genius 2024-06-06 15:32:38 +08:00 committed by 刘瑞斌
parent 5d152a7faf
commit faa5fcfb39
1 changed files with 0 additions and 2 deletions

View File

@ -93,11 +93,9 @@ public class TestPlanManagementService {
if (collect.containsKey(item.getId())) {
//存在子节点
List<TestPlanResponse> list = collect.get(item.getId());
testPlanStatisticsService.calculateCaseCount(list);
item.setChildren(list);
item.setChildrenCount(list.size());
}
testPlanStatisticsService.calculateCaseCount(List.of(item));
});
}
}