refactor(通用脑图): 去掉多余代码

This commit is contained in:
guoyuqi 2024-06-25 10:57:09 +08:00 committed by 刘瑞斌
parent b301ba7625
commit ff4542deed
2 changed files with 1 additions and 2 deletions

View File

@ -357,7 +357,7 @@ public class FunctionalCaseMinderService {
targetTextParentIds.addAll(targetModuleParentIds);
targetTextParentIds.addAll(targetCaseParentIds);
List<String> targetTextParentNoRepeatIds = targetTextParentIds.stream().distinct().toList();
List<MindAdditionalNode> allChildrenTextInDB = new ArrayList<>();
List<MindAdditionalNode> allChildrenTextInDB;
Map<String, List<MindAdditionalNode>> parentChildrenTextMap = new HashMap<>();
if (CollectionUtils.isNotEmpty(targetTextParentNoRepeatIds)) {
mindAdditionalNodeExample = new MindAdditionalNodeExample();

View File

@ -245,7 +245,6 @@ public class TestPlanCollectionMinderService {
beansOfType.forEach((k, v) -> {
v.associateCollection(request.getPlanId(), associateMap, user);
});
List<TestPlanCollection> testPlanCollections = testPlanCollectionMapper.selectByExample(new TestPlanCollectionExample());
//更新测试计划
testPlanService.refreshTestPlanStatus(request.getPlanId());
}