From 0da58df7cf4281e7c88d1deb4faf15e67b4c941b Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Thu, 24 Nov 2022 12:31:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 代码格式优化 --- .../io/metersphere/service/definition/ApiDefinitionService.java | 2 -- .../io/metersphere/service/plan/TestPlanApiCaseService.java | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java index e6606375ae..dfb80c4045 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java @@ -2999,8 +2999,6 @@ public class ApiDefinitionService { } } } - - return returnMap; } diff --git a/api-test/backend/src/main/java/io/metersphere/service/plan/TestPlanApiCaseService.java b/api-test/backend/src/main/java/io/metersphere/service/plan/TestPlanApiCaseService.java index ed8a3b1a8c..eac885ecfc 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/plan/TestPlanApiCaseService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/plan/TestPlanApiCaseService.java @@ -520,7 +520,7 @@ public class TestPlanApiCaseService { }}); } }); - Map> projectEnvMap = apiDefinitionService.getProjectEnvNameByEnvConfig(projectConfigMap); + result = apiDefinitionService.getProjectEnvNameByEnvConfig(projectConfigMap); } return result; }