fix(接口测试): 修复不同模块同名的场景导入失败的缺陷
--bug=1027234 --user=王孝刚 【接口测试】场景导入ms格式失败 https://www.tapd.cn/55049933/s/1385530
This commit is contained in:
parent
7ab5cf374a
commit
ac8d8c32d9
|
@ -534,7 +534,7 @@ public class ApiScenarioModuleService extends NodeTreeService<ApiScenarioModuleD
|
|||
if (!CollectionUtils.isEmpty(repeatApiScenarioWithBLOBs)) {
|
||||
String chooseModuleParentId = getChooseModuleParentId(chooseModule);
|
||||
String chooseModulePath = getChooseModulePath(idPathMap, chooseModule, chooseModuleParentId);
|
||||
nameModuleMap = optionData.stream().collect(Collectors.toMap(t -> t.getName() + chooseModulePath, scenario -> scenario));
|
||||
nameModuleMap = optionData.stream().collect(Collectors.toMap(t -> t.getName() +t.getModulePath() + chooseModulePath, scenario -> scenario));
|
||||
repeatDataMap = repeatApiScenarioWithBLOBs.stream().filter(t -> t.getApiScenarioModuleId().equals(chooseModuleId)).collect(Collectors.toMap(t -> t.getName() + t.getModulePath(), scenario -> scenario));
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue