From aeb9c52661172a431be1e29edf221131135f139c Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Tue, 11 Jan 2022 15:11:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=95=B0=E6=8D=AE=E5=BA=93=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=91=BD=E5=90=8D=E4=BC=98=E5=8C=96):=20=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E5=AD=97=E6=AE=B5=E5=91=BD=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 数据库字段命名优化 --- .../TestPlanReportContentWithBLOBs.java | 6 +- .../mapper/TestPlanReportContentMapper.xml | 77 ++++++++++--------- .../track/service/TestPlanReportService.java | 25 +++--- .../db/migration/V105__v1.16.5_release.sql | 6 +- 4 files changed, 56 insertions(+), 58 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/domain/TestPlanReportContentWithBLOBs.java b/backend/src/main/java/io/metersphere/base/domain/TestPlanReportContentWithBLOBs.java index 4bebc555f6..deed357ad0 100644 --- a/backend/src/main/java/io/metersphere/base/domain/TestPlanReportContentWithBLOBs.java +++ b/backend/src/main/java/io/metersphere/base/domain/TestPlanReportContentWithBLOBs.java @@ -37,11 +37,11 @@ public class TestPlanReportContentWithBLOBs extends TestPlanReportContent implem private String loadFailureCases; - private String scenarioReportId; + private String planScenarioReportStruct; - private String apiCaseReportId; + private String planApiCaseReportStruct; - private String loadCaseReportId; + private String planLoadCaseReportStruct; private static final long serialVersionUID = 1L; } \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/mapper/TestPlanReportContentMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/TestPlanReportContentMapper.xml index 1a7a409165..fbe153e17c 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/TestPlanReportContentMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/TestPlanReportContentMapper.xml @@ -26,9 +26,9 @@ - - - + + + @@ -95,7 +95,8 @@ config, summary, function_result, api_result, load_result, function_all_cases, function_failure_cases, issue_list, api_all_cases, api_failure_cases, scenario_all_cases, scenario_failure_cases, - load_all_Cases, load_failure_cases, scenario_report_id, api_case_report_id, load_case_report_id + load_all_Cases, load_failure_cases, plan_scenario_report_struct, plan_api_case_report_struct, + plan_load_case_report_struct