diff --git a/backend/src/main/java/io/metersphere/base/domain/ApiTestEnvironment.java b/backend/src/main/java/io/metersphere/base/domain/ApiTestEnvironment.java index 95726d8ad8..009ee18358 100644 --- a/backend/src/main/java/io/metersphere/base/domain/ApiTestEnvironment.java +++ b/backend/src/main/java/io/metersphere/base/domain/ApiTestEnvironment.java @@ -1,8 +1,7 @@ package io.metersphere.base.domain; -import lombok.Data; - import java.io.Serializable; +import lombok.Data; @Data public class ApiTestEnvironment implements Serializable { diff --git a/backend/src/main/java/io/metersphere/base/domain/ApiTestEnvironmentWithBLOBs.java b/backend/src/main/java/io/metersphere/base/domain/ApiTestEnvironmentWithBLOBs.java index 0f20ed5d01..1e00c158a7 100644 --- a/backend/src/main/java/io/metersphere/base/domain/ApiTestEnvironmentWithBLOBs.java +++ b/backend/src/main/java/io/metersphere/base/domain/ApiTestEnvironmentWithBLOBs.java @@ -18,7 +18,5 @@ public class ApiTestEnvironmentWithBLOBs extends ApiTestEnvironment implements S private String hosts; - private String customData; - private static final long serialVersionUID = 1L; } \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/mapper/ApiTestEnvironmentMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ApiTestEnvironmentMapper.xml index 10c290fa52..a9c923bf3a 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ApiTestEnvironmentMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ApiTestEnvironmentMapper.xml @@ -16,7 +16,6 @@ - @@ -80,7 +79,7 @@ id, `name`, project_id, protocol, socket, `domain`, port, create_user - `variables`, headers, config, `hosts`, custom_data + `variables`, headers, config, `hosts` @@ -272,9 +265,6 @@ `hosts` = #{record.hosts,jdbcType=LONGVARCHAR}, - - custom_data = #{record.customData,jdbcType=LONGVARCHAR}, - @@ -293,8 +283,7 @@ `variables` = #{record.variables,jdbcType=LONGVARCHAR}, headers = #{record.headers,jdbcType=LONGVARCHAR}, config = #{record.config,jdbcType=LONGVARCHAR}, - `hosts` = #{record.hosts,jdbcType=LONGVARCHAR}, - custom_data = #{record.customData,jdbcType=LONGVARCHAR} + `hosts` = #{record.hosts,jdbcType=LONGVARCHAR} @@ -349,9 +338,6 @@ `hosts` = #{hosts,jdbcType=LONGVARCHAR}, - - custom_data = #{customData,jdbcType=LONGVARCHAR}, - where id = #{id,jdbcType=VARCHAR} @@ -367,8 +353,7 @@ `variables` = #{variables,jdbcType=LONGVARCHAR}, headers = #{headers,jdbcType=LONGVARCHAR}, config = #{config,jdbcType=LONGVARCHAR}, - `hosts` = #{hosts,jdbcType=LONGVARCHAR}, - custom_data = #{customData,jdbcType=LONGVARCHAR} + `hosts` = #{hosts,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=VARCHAR}