perf(测试计划): 修改测试计划查询方法,删除多余逻辑
This commit is contained in:
parent
5d152a7faf
commit
faa5fcfb39
|
@ -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));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue