fix(测试计划): 规划根节点配置运行模式报错问题
--story=1015333 --user=宋昌昌 【测试计划】完成剩余功能 https://www.tapd.cn/55049933/s/1547478
This commit is contained in:
parent
80f9c598e3
commit
0d51905ab6
|
@ -260,7 +260,7 @@ public class TestPlanCollectionMinderService {
|
|||
|
||||
private void dealEditList(TestPlanCollectionMinderEditRequest request, String userId, Map<String, List<BaseCollectionAssociateRequest>> associateMap) {
|
||||
if (CollectionUtils.isNotEmpty(request.getEditList())) {
|
||||
// 根节点直接过滤后存在直接处理串并行参数
|
||||
// 根节点直接过滤后存在直接处理串/并行参数, 后续不一起处理
|
||||
request.getEditList().stream()
|
||||
.filter(minderNode -> StringUtils.equals(minderNode.getId(), ModuleConstants.DEFAULT_NODE_ID))
|
||||
.findFirst()
|
||||
|
@ -271,6 +271,7 @@ public class TestPlanCollectionMinderService {
|
|||
config.setCaseRunMode(executeMethod);
|
||||
testPlanConfigMapper.updateByPrimaryKeySelective(config);
|
||||
});
|
||||
request.getEditList().removeIf(minderNode -> StringUtils.equals(minderNode.getId(), ModuleConstants.DEFAULT_NODE_ID));
|
||||
Map<String, List<TestPlanCollection>> parentMap = getParentMap(request);
|
||||
SqlSession sqlSession = sqlSessionFactory.openSession(ExecutorType.BATCH);
|
||||
TestPlanCollectionMapper collectionMapper = sqlSession.getMapper(TestPlanCollectionMapper.class);
|
||||
|
|
Loading…
Reference in New Issue