From 65036684b80627ff62d2bfa66aaa881c78b65bca Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Mon, 17 Oct 2022 10:40:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B6=E4=BB=96=E5=8D=8F=E8=AE=AE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=88=B0=E5=85=A5=E8=A6=86=E7=9B=96=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001018180 --user=郭雨琦 --- .../io/metersphere/service/definition/ApiModuleService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiModuleService.java b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiModuleService.java index 2a3982036a..9eb36c1968 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiModuleService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiModuleService.java @@ -1061,7 +1061,7 @@ public class ApiModuleService extends NodeTreeService { Map> oldCaseMap, Map esbApiParamsMap) { //覆盖但不覆盖模块 if (MapUtils.isEmpty(nameModuleMap) || MapUtils.isEmpty(repeatDataMap)) { - return new HashMap<>(); + return moduleMap; } //导入文件没有新增接口无需创建接口模块 moduleMap = judgeModule(moduleMap, nameModuleMap, repeatDataMap);