From da3811eb3c7eacfd1dbd580776efe60eb8617463 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Mon, 18 Jan 2021 14:35:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E7=94=A8=E5=88=B0=E7=9A=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/domain/LoadTestWithBLOBs.java | 5 ++-- .../base/mapper/LoadTestMapper.xml | 29 +++++-------------- 2 files changed, 9 insertions(+), 25 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/domain/LoadTestWithBLOBs.java b/backend/src/main/java/io/metersphere/base/domain/LoadTestWithBLOBs.java index 5e3c4b20b3..530c5e85e7 100644 --- a/backend/src/main/java/io/metersphere/base/domain/LoadTestWithBLOBs.java +++ b/backend/src/main/java/io/metersphere/base/domain/LoadTestWithBLOBs.java @@ -1,10 +1,11 @@ package io.metersphere.base.domain; -import java.io.Serializable; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.ToString; +import java.io.Serializable; + @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) @@ -13,7 +14,5 @@ public class LoadTestWithBLOBs extends LoadTest implements Serializable { private String advancedConfiguration; - private String schedule; - private static final long serialVersionUID = 1L; } \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/mapper/LoadTestMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/LoadTestMapper.xml index af5478f5bb..a352071f16 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/LoadTestMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/LoadTestMapper.xml @@ -16,7 +16,6 @@ - @@ -81,7 +80,7 @@ user_id, num - load_configuration, advanced_configuration, schedule + load_configuration, advanced_configuration @@ -273,9 +266,6 @@ advanced_configuration = #{record.advancedConfiguration,jdbcType=LONGVARCHAR}, - - schedule = #{record.schedule,jdbcType=LONGVARCHAR}, - @@ -294,8 +284,7 @@ user_id = #{record.userId,jdbcType=VARCHAR}, num = #{record.num,jdbcType=INTEGER}, load_configuration = #{record.loadConfiguration,jdbcType=LONGVARCHAR}, - advanced_configuration = #{record.advancedConfiguration,jdbcType=LONGVARCHAR}, - schedule = #{record.schedule,jdbcType=LONGVARCHAR} + advanced_configuration = #{record.advancedConfiguration,jdbcType=LONGVARCHAR} @@ -352,9 +341,6 @@ advanced_configuration = #{advancedConfiguration,jdbcType=LONGVARCHAR}, - - schedule = #{schedule,jdbcType=LONGVARCHAR}, - where id = #{id,jdbcType=VARCHAR} @@ -370,8 +356,7 @@ user_id = #{userId,jdbcType=VARCHAR}, num = #{num,jdbcType=INTEGER}, load_configuration = #{loadConfiguration,jdbcType=LONGVARCHAR}, - advanced_configuration = #{advancedConfiguration,jdbcType=LONGVARCHAR}, - schedule = #{schedule,jdbcType=LONGVARCHAR} + advanced_configuration = #{advancedConfiguration,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=VARCHAR} From c4769dbf22ee9e97bd41ca56a6f9f6f5f920968f Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Mon, 18 Jan 2021 14:49:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E7=94=A8=E5=88=B0=E7=9A=84=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/io/metersphere/xpack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/xpack b/backend/src/main/java/io/metersphere/xpack index 8d5b1ebeab..36116c1bff 160000 --- a/backend/src/main/java/io/metersphere/xpack +++ b/backend/src/main/java/io/metersphere/xpack @@ -1 +1 @@ -Subproject commit 8d5b1ebeabf5ebaee9ca186087ac8a34cf888518 +Subproject commit 36116c1bff736377e6b8a3b828c5fa9bd8b2f2f8