From 147184433a84d7bea15aecd2e211edb465819b81 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Thu, 14 Apr 2022 18:36:15 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=B1=BB=E5=90=8D=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/api/service/ApiScenarioReportService.java | 4 ++-- .../{UiReporServicetProxy.java => UiReportServiceProxy.java} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename backend/src/main/java/io/metersphere/api/service/{UiReporServicetProxy.java => UiReportServiceProxy.java} (97%) diff --git a/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java b/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java index 7fecd18cc9..e793d0cbfc 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java @@ -80,7 +80,7 @@ public class ApiScenarioReportService { @Resource private ApiDefinitionExecResultMapper definitionExecResultMapper; @Resource - private UiReporServicetProxy uiReporServicetProxy; + private UiReportServiceProxy uiReportServiceProxy; public void saveResult(List requestResults, ResultDTO dto) { // 报告详情内容 @@ -94,7 +94,7 @@ public class ApiScenarioReportService { public void saveUiResult(List requestResults, ResultDTO dto) { // 报告详情内容 - uiReporServicetProxy.saveUiResult(dto.getReportId(), requestResults); + uiReportServiceProxy.saveUiResult(dto.getReportId(), requestResults); } public ApiScenarioReport testEnded(ResultDTO dto) { diff --git a/backend/src/main/java/io/metersphere/api/service/UiReporServicetProxy.java b/backend/src/main/java/io/metersphere/api/service/UiReportServiceProxy.java similarity index 97% rename from backend/src/main/java/io/metersphere/api/service/UiReporServicetProxy.java rename to backend/src/main/java/io/metersphere/api/service/UiReportServiceProxy.java index 473515aedb..fa132910cc 100644 --- a/backend/src/main/java/io/metersphere/api/service/UiReporServicetProxy.java +++ b/backend/src/main/java/io/metersphere/api/service/UiReportServiceProxy.java @@ -12,7 +12,7 @@ import java.util.function.Function; @Service @Transactional(rollbackFor = Exception.class) -public class UiReporServicetProxy { +public class UiReportServiceProxy { public Object saveUiResult(String reportId, List queue) { return invoke((clazz) -> {