fix: 去掉性能测试不用的字段
This commit is contained in:
parent
5ae5a2890c
commit
c6f5970f4c
|
@ -34,8 +34,6 @@ public class LoadTest implements Serializable {
|
||||||
|
|
||||||
private Long order;
|
private Long order;
|
||||||
|
|
||||||
private String version;
|
|
||||||
|
|
||||||
private String refId;
|
private String refId;
|
||||||
|
|
||||||
private String versionId;
|
private String versionId;
|
||||||
|
|
|
@ -1034,76 +1034,6 @@ public class LoadTestExample {
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Criteria andVersionIsNull() {
|
|
||||||
addCriterion("version is null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionIsNotNull() {
|
|
||||||
addCriterion("version is not null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionEqualTo(String value) {
|
|
||||||
addCriterion("version =", value, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionNotEqualTo(String value) {
|
|
||||||
addCriterion("version <>", value, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionGreaterThan(String value) {
|
|
||||||
addCriterion("version >", value, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionGreaterThanOrEqualTo(String value) {
|
|
||||||
addCriterion("version >=", value, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionLessThan(String value) {
|
|
||||||
addCriterion("version <", value, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionLessThanOrEqualTo(String value) {
|
|
||||||
addCriterion("version <=", value, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionLike(String value) {
|
|
||||||
addCriterion("version like", value, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionNotLike(String value) {
|
|
||||||
addCriterion("version not like", value, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionIn(List<String> values) {
|
|
||||||
addCriterion("version in", values, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionNotIn(List<String> values) {
|
|
||||||
addCriterion("version not in", values, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionBetween(String value1, String value2) {
|
|
||||||
addCriterion("version between", value1, value2, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andVersionNotBetween(String value1, String value2) {
|
|
||||||
addCriterion("version not between", value1, value2, "version");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andRefIdIsNull() {
|
public Criteria andRefIdIsNull() {
|
||||||
addCriterion("ref_id is null");
|
addCriterion("ref_id is null");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
<result column="scenario_version" jdbcType="INTEGER" property="scenarioVersion" />
|
<result column="scenario_version" jdbcType="INTEGER" property="scenarioVersion" />
|
||||||
<result column="scenario_id" jdbcType="VARCHAR" property="scenarioId" />
|
<result column="scenario_id" jdbcType="VARCHAR" property="scenarioId" />
|
||||||
<result column="order" jdbcType="BIGINT" property="order" />
|
<result column="order" jdbcType="BIGINT" property="order" />
|
||||||
<result column="version" jdbcType="VARCHAR" property="version" />
|
|
||||||
<result column="ref_id" jdbcType="VARCHAR" property="refId" />
|
<result column="ref_id" jdbcType="VARCHAR" property="refId" />
|
||||||
<result column="version_id" jdbcType="VARCHAR" property="versionId" />
|
<result column="version_id" jdbcType="VARCHAR" property="versionId" />
|
||||||
<result column="latest" jdbcType="BIT" property="latest" />
|
<result column="latest" jdbcType="BIT" property="latest" />
|
||||||
|
@ -85,8 +84,8 @@
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
id, project_id, `name`, description, create_time, update_time, `status`, test_resource_pool_id,
|
id, project_id, `name`, description, create_time, update_time, `status`, test_resource_pool_id,
|
||||||
user_id, num, create_user, scenario_version, scenario_id, `order`, version, ref_id,
|
user_id, num, create_user, scenario_version, scenario_id, `order`, ref_id, version_id,
|
||||||
version_id, latest
|
latest
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
load_configuration, advanced_configuration
|
load_configuration, advanced_configuration
|
||||||
|
@ -144,18 +143,16 @@
|
||||||
description, create_time, update_time,
|
description, create_time, update_time,
|
||||||
`status`, test_resource_pool_id, user_id,
|
`status`, test_resource_pool_id, user_id,
|
||||||
num, create_user, scenario_version,
|
num, create_user, scenario_version,
|
||||||
scenario_id, `order`, version,
|
scenario_id, `order`, ref_id,
|
||||||
ref_id, version_id, latest,
|
version_id, latest, load_configuration,
|
||||||
load_configuration, advanced_configuration
|
advanced_configuration)
|
||||||
)
|
|
||||||
VALUES (#{id,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
VALUES (#{id,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
||||||
#{description,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT},
|
#{description,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT},
|
||||||
#{status,jdbcType=VARCHAR}, #{testResourcePoolId,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR},
|
#{status,jdbcType=VARCHAR}, #{testResourcePoolId,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR},
|
||||||
#{num,jdbcType=INTEGER}, #{createUser,jdbcType=VARCHAR}, #{scenarioVersion,jdbcType=INTEGER},
|
#{num,jdbcType=INTEGER}, #{createUser,jdbcType=VARCHAR}, #{scenarioVersion,jdbcType=INTEGER},
|
||||||
#{scenarioId,jdbcType=VARCHAR}, #{order,jdbcType=BIGINT}, #{version,jdbcType=VARCHAR},
|
#{scenarioId,jdbcType=VARCHAR}, #{order,jdbcType=BIGINT}, #{refId,jdbcType=VARCHAR},
|
||||||
#{refId,jdbcType=VARCHAR}, #{versionId,jdbcType=VARCHAR}, #{latest,jdbcType=BIT},
|
#{versionId,jdbcType=VARCHAR}, #{latest,jdbcType=BIT}, #{loadConfiguration,jdbcType=LONGVARCHAR},
|
||||||
#{loadConfiguration,jdbcType=LONGVARCHAR}, #{advancedConfiguration,jdbcType=LONGVARCHAR}
|
#{advancedConfiguration,jdbcType=LONGVARCHAR})
|
||||||
)
|
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="io.metersphere.base.domain.LoadTestWithBLOBs">
|
<insert id="insertSelective" parameterType="io.metersphere.base.domain.LoadTestWithBLOBs">
|
||||||
insert into load_test
|
insert into load_test
|
||||||
|
@ -202,9 +199,6 @@
|
||||||
<if test="order != null">
|
<if test="order != null">
|
||||||
`order`,
|
`order`,
|
||||||
</if>
|
</if>
|
||||||
<if test="version != null">
|
|
||||||
version,
|
|
||||||
</if>
|
|
||||||
<if test="refId != null">
|
<if test="refId != null">
|
||||||
ref_id,
|
ref_id,
|
||||||
</if>
|
</if>
|
||||||
|
@ -264,9 +258,6 @@
|
||||||
<if test="order != null">
|
<if test="order != null">
|
||||||
#{order,jdbcType=BIGINT},
|
#{order,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="version != null">
|
|
||||||
#{version,jdbcType=VARCHAR},
|
|
||||||
</if>
|
|
||||||
<if test="refId != null">
|
<if test="refId != null">
|
||||||
#{refId,jdbcType=VARCHAR},
|
#{refId,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
@ -335,9 +326,6 @@
|
||||||
<if test="record.order != null">
|
<if test="record.order != null">
|
||||||
`order` = #{record.order,jdbcType=BIGINT},
|
`order` = #{record.order,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.version != null">
|
|
||||||
version = #{record.version,jdbcType=VARCHAR},
|
|
||||||
</if>
|
|
||||||
<if test="record.refId != null">
|
<if test="record.refId != null">
|
||||||
ref_id = #{record.refId,jdbcType=VARCHAR},
|
ref_id = #{record.refId,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
@ -374,7 +362,6 @@
|
||||||
scenario_version = #{record.scenarioVersion,jdbcType=INTEGER},
|
scenario_version = #{record.scenarioVersion,jdbcType=INTEGER},
|
||||||
scenario_id = #{record.scenarioId,jdbcType=VARCHAR},
|
scenario_id = #{record.scenarioId,jdbcType=VARCHAR},
|
||||||
`order` = #{record.order,jdbcType=BIGINT},
|
`order` = #{record.order,jdbcType=BIGINT},
|
||||||
version = #{record.version,jdbcType=VARCHAR},
|
|
||||||
ref_id = #{record.refId,jdbcType=VARCHAR},
|
ref_id = #{record.refId,jdbcType=VARCHAR},
|
||||||
version_id = #{record.versionId,jdbcType=VARCHAR},
|
version_id = #{record.versionId,jdbcType=VARCHAR},
|
||||||
latest = #{record.latest,jdbcType=BIT},
|
latest = #{record.latest,jdbcType=BIT},
|
||||||
|
@ -400,7 +387,6 @@
|
||||||
scenario_version = #{record.scenarioVersion,jdbcType=INTEGER},
|
scenario_version = #{record.scenarioVersion,jdbcType=INTEGER},
|
||||||
scenario_id = #{record.scenarioId,jdbcType=VARCHAR},
|
scenario_id = #{record.scenarioId,jdbcType=VARCHAR},
|
||||||
`order` = #{record.order,jdbcType=BIGINT},
|
`order` = #{record.order,jdbcType=BIGINT},
|
||||||
version = #{record.version,jdbcType=VARCHAR},
|
|
||||||
ref_id = #{record.refId,jdbcType=VARCHAR},
|
ref_id = #{record.refId,jdbcType=VARCHAR},
|
||||||
version_id = #{record.versionId,jdbcType=VARCHAR},
|
version_id = #{record.versionId,jdbcType=VARCHAR},
|
||||||
latest = #{record.latest,jdbcType=BIT}
|
latest = #{record.latest,jdbcType=BIT}
|
||||||
|
@ -450,9 +436,6 @@
|
||||||
<if test="order != null">
|
<if test="order != null">
|
||||||
`order` = #{order,jdbcType=BIGINT},
|
`order` = #{order,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="version != null">
|
|
||||||
version = #{version,jdbcType=VARCHAR},
|
|
||||||
</if>
|
|
||||||
<if test="refId != null">
|
<if test="refId != null">
|
||||||
ref_id = #{refId,jdbcType=VARCHAR},
|
ref_id = #{refId,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
@ -486,7 +469,6 @@
|
||||||
scenario_version = #{scenarioVersion,jdbcType=INTEGER},
|
scenario_version = #{scenarioVersion,jdbcType=INTEGER},
|
||||||
scenario_id = #{scenarioId,jdbcType=VARCHAR},
|
scenario_id = #{scenarioId,jdbcType=VARCHAR},
|
||||||
`order` = #{order,jdbcType=BIGINT},
|
`order` = #{order,jdbcType=BIGINT},
|
||||||
version = #{version,jdbcType=VARCHAR},
|
|
||||||
ref_id = #{refId,jdbcType=VARCHAR},
|
ref_id = #{refId,jdbcType=VARCHAR},
|
||||||
version_id = #{versionId,jdbcType=VARCHAR},
|
version_id = #{versionId,jdbcType=VARCHAR},
|
||||||
latest = #{latest,jdbcType=BIT},
|
latest = #{latest,jdbcType=BIT},
|
||||||
|
@ -509,7 +491,6 @@
|
||||||
scenario_version = #{scenarioVersion,jdbcType=INTEGER},
|
scenario_version = #{scenarioVersion,jdbcType=INTEGER},
|
||||||
scenario_id = #{scenarioId,jdbcType=VARCHAR},
|
scenario_id = #{scenarioId,jdbcType=VARCHAR},
|
||||||
`order` = #{order,jdbcType=BIGINT},
|
`order` = #{order,jdbcType=BIGINT},
|
||||||
version = #{version,jdbcType=VARCHAR},
|
|
||||||
ref_id = #{refId,jdbcType=VARCHAR},
|
ref_id = #{refId,jdbcType=VARCHAR},
|
||||||
version_id = #{versionId,jdbcType=VARCHAR},
|
version_id = #{versionId,jdbcType=VARCHAR},
|
||||||
latest = #{latest,jdbcType=BIT}
|
latest = #{latest,jdbcType=BIT}
|
||||||
|
|
Loading…
Reference in New Issue