fix(接口测试): 修复其他协议接口到入覆盖模块创建失败问题

https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001018180
--user=郭雨琦
This commit is contained in:
guoyuqi 2022-10-17 10:40:18 +08:00 committed by xiaomeinvG
parent 6a3cb53e37
commit 65036684b8
1 changed files with 1 additions and 1 deletions

View File

@ -1061,7 +1061,7 @@ public class ApiModuleService extends NodeTreeService<ApiModuleDTO> {
Map<String, List<ApiTestCaseWithBLOBs>> oldCaseMap, Map<String, EsbApiParamsWithBLOBs> esbApiParamsMap) {
//覆盖但不覆盖模块
if (MapUtils.isEmpty(nameModuleMap) || MapUtils.isEmpty(repeatDataMap)) {
return new HashMap<>();
return moduleMap;
}
//导入文件没有新增接口无需创建接口模块
moduleMap = judgeModule(moduleMap, nameModuleMap, repeatDataMap);