refactor(通用脑图): 去掉多余代码
This commit is contained in:
parent
b301ba7625
commit
ff4542deed
|
@ -357,7 +357,7 @@ public class FunctionalCaseMinderService {
|
||||||
targetTextParentIds.addAll(targetModuleParentIds);
|
targetTextParentIds.addAll(targetModuleParentIds);
|
||||||
targetTextParentIds.addAll(targetCaseParentIds);
|
targetTextParentIds.addAll(targetCaseParentIds);
|
||||||
List<String> targetTextParentNoRepeatIds = targetTextParentIds.stream().distinct().toList();
|
List<String> targetTextParentNoRepeatIds = targetTextParentIds.stream().distinct().toList();
|
||||||
List<MindAdditionalNode> allChildrenTextInDB = new ArrayList<>();
|
List<MindAdditionalNode> allChildrenTextInDB;
|
||||||
Map<String, List<MindAdditionalNode>> parentChildrenTextMap = new HashMap<>();
|
Map<String, List<MindAdditionalNode>> parentChildrenTextMap = new HashMap<>();
|
||||||
if (CollectionUtils.isNotEmpty(targetTextParentNoRepeatIds)) {
|
if (CollectionUtils.isNotEmpty(targetTextParentNoRepeatIds)) {
|
||||||
mindAdditionalNodeExample = new MindAdditionalNodeExample();
|
mindAdditionalNodeExample = new MindAdditionalNodeExample();
|
||||||
|
|
|
@ -245,7 +245,6 @@ public class TestPlanCollectionMinderService {
|
||||||
beansOfType.forEach((k, v) -> {
|
beansOfType.forEach((k, v) -> {
|
||||||
v.associateCollection(request.getPlanId(), associateMap, user);
|
v.associateCollection(request.getPlanId(), associateMap, user);
|
||||||
});
|
});
|
||||||
List<TestPlanCollection> testPlanCollections = testPlanCollectionMapper.selectByExample(new TestPlanCollectionExample());
|
|
||||||
//更新测试计划
|
//更新测试计划
|
||||||
testPlanService.refreshTestPlanStatus(request.getPlanId());
|
testPlanService.refreshTestPlanStatus(request.getPlanId());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue