添加user字段
This commit is contained in:
parent
f415a121a5
commit
b988ea1331
|
@ -22,5 +22,7 @@ public class LoadTest implements Serializable {
|
||||||
|
|
||||||
private String testResourcePoolId;
|
private String testResourcePoolId;
|
||||||
|
|
||||||
|
private String user;
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
}
|
}
|
|
@ -643,6 +643,76 @@ public class LoadTestExample {
|
||||||
addCriterion("test_resource_pool_id not between", value1, value2, "testResourcePoolId");
|
addCriterion("test_resource_pool_id not between", value1, value2, "testResourcePoolId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIsNull() {
|
||||||
|
addCriterion("user is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIsNotNull() {
|
||||||
|
addCriterion("user is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserEqualTo(String value) {
|
||||||
|
addCriterion("user =", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserNotEqualTo(String value) {
|
||||||
|
addCriterion("user <>", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserGreaterThan(String value) {
|
||||||
|
addCriterion("user >", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("user >=", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserLessThan(String value) {
|
||||||
|
addCriterion("user <", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("user <=", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserLike(String value) {
|
||||||
|
addCriterion("user like", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserNotLike(String value) {
|
||||||
|
addCriterion("user not like", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIn(List<String> values) {
|
||||||
|
addCriterion("user in", values, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserNotIn(List<String> values) {
|
||||||
|
addCriterion("user not in", values, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserBetween(String value1, String value2) {
|
||||||
|
addCriterion("user between", value1, value2, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("user not between", value1, value2, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Criteria extends GeneratedCriteria {
|
public static class Criteria extends GeneratedCriteria {
|
||||||
|
|
|
@ -18,6 +18,8 @@ public class LoadTestReport implements Serializable {
|
||||||
|
|
||||||
private String status;
|
private String status;
|
||||||
|
|
||||||
|
private String user;
|
||||||
|
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -503,6 +503,76 @@ public class LoadTestReportExample {
|
||||||
addCriterion("status not between", value1, value2, "status");
|
addCriterion("status not between", value1, value2, "status");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIsNull() {
|
||||||
|
addCriterion("user is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIsNotNull() {
|
||||||
|
addCriterion("user is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserEqualTo(String value) {
|
||||||
|
addCriterion("user =", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserNotEqualTo(String value) {
|
||||||
|
addCriterion("user <>", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserGreaterThan(String value) {
|
||||||
|
addCriterion("user >", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("user >=", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserLessThan(String value) {
|
||||||
|
addCriterion("user <", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("user <=", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserLike(String value) {
|
||||||
|
addCriterion("user like", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserNotLike(String value) {
|
||||||
|
addCriterion("user not like", value, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIn(List<String> values) {
|
||||||
|
addCriterion("user in", values, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserNotIn(List<String> values) {
|
||||||
|
addCriterion("user not in", values, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserBetween(String value1, String value2) {
|
||||||
|
addCriterion("user between", value1, value2, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("user not between", value1, value2, "user");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Criteria extends GeneratedCriteria {
|
public static class Criteria extends GeneratedCriteria {
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
<result column="update_time" jdbcType="BIGINT" property="updateTime" />
|
<result column="update_time" jdbcType="BIGINT" property="updateTime" />
|
||||||
<result column="status" jdbcType="VARCHAR" property="status" />
|
<result column="status" jdbcType="VARCHAR" property="status" />
|
||||||
<result column="test_resource_pool_id" jdbcType="VARCHAR" property="testResourcePoolId" />
|
<result column="test_resource_pool_id" jdbcType="VARCHAR" property="testResourcePoolId" />
|
||||||
|
<result column="user" jdbcType="VARCHAR" property="user"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="io.metersphere.base.domain.LoadTestWithBLOBs">
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="io.metersphere.base.domain.LoadTestWithBLOBs">
|
||||||
<result column="load_configuration" jdbcType="LONGVARCHAR" property="loadConfiguration" />
|
<result column="load_configuration" jdbcType="LONGVARCHAR" property="loadConfiguration" />
|
||||||
|
@ -75,7 +76,15 @@
|
||||||
</where>
|
</where>
|
||||||
</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
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
load_configuration, advanced_configuration, schedule
|
load_configuration, advanced_configuration, schedule
|
||||||
|
@ -129,16 +138,16 @@
|
||||||
</if>
|
</if>
|
||||||
</delete>
|
</delete>
|
||||||
<insert id="insert" parameterType="io.metersphere.base.domain.LoadTestWithBLOBs">
|
<insert id="insert" parameterType="io.metersphere.base.domain.LoadTestWithBLOBs">
|
||||||
insert into load_test (id, project_id, name,
|
insert into load_test (id, project_id, name,
|
||||||
description, create_time, update_time,
|
description, create_time, update_time,
|
||||||
status, test_resource_pool_id, load_configuration,
|
status, test_resource_pool_id, user,
|
||||||
advanced_configuration, schedule
|
load_configuration, advanced_configuration,
|
||||||
)
|
schedule)
|
||||||
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}, #{loadConfiguration,jdbcType=LONGVARCHAR},
|
#{status,jdbcType=VARCHAR}, #{testResourcePoolId,jdbcType=VARCHAR}, #{user,jdbcType=VARCHAR},
|
||||||
#{advancedConfiguration,jdbcType=LONGVARCHAR}, #{schedule,jdbcType=LONGVARCHAR}
|
#{loadConfiguration,jdbcType=LONGVARCHAR}, #{advancedConfiguration,jdbcType=LONGVARCHAR},
|
||||||
)
|
#{schedule,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
|
||||||
|
@ -156,26 +165,29 @@
|
||||||
description,
|
description,
|
||||||
</if>
|
</if>
|
||||||
<if test="createTime != null">
|
<if test="createTime != null">
|
||||||
create_time,
|
create_time,
|
||||||
</if>
|
|
||||||
<if test="updateTime != null">
|
|
||||||
update_time,
|
|
||||||
</if>
|
|
||||||
<if test="status != null">
|
|
||||||
status,
|
|
||||||
</if>
|
|
||||||
<if test="testResourcePoolId != null">
|
|
||||||
test_resource_pool_id,
|
|
||||||
</if>
|
|
||||||
<if test="loadConfiguration != null">
|
|
||||||
load_configuration,
|
|
||||||
</if>
|
|
||||||
<if test="advancedConfiguration != null">
|
|
||||||
advanced_configuration,
|
|
||||||
</if>
|
|
||||||
<if test="schedule != null">
|
|
||||||
schedule,
|
|
||||||
</if>
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time,
|
||||||
|
</if>
|
||||||
|
<if test="status != null">
|
||||||
|
status,
|
||||||
|
</if>
|
||||||
|
<if test="testResourcePoolId != null">
|
||||||
|
test_resource_pool_id,
|
||||||
|
</if>
|
||||||
|
<if test="user != null">
|
||||||
|
user,
|
||||||
|
</if>
|
||||||
|
<if test="loadConfiguration != null">
|
||||||
|
load_configuration,
|
||||||
|
</if>
|
||||||
|
<if test="advancedConfiguration != null">
|
||||||
|
advanced_configuration,
|
||||||
|
</if>
|
||||||
|
<if test="schedule != null">
|
||||||
|
schedule,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
|
@ -193,24 +205,27 @@
|
||||||
<if test="createTime != null">
|
<if test="createTime != null">
|
||||||
#{createTime,jdbcType=BIGINT},
|
#{createTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="updateTime != null">
|
<if test="updateTime != null">
|
||||||
#{updateTime,jdbcType=BIGINT},
|
#{updateTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="status != null">
|
<if test="status != null">
|
||||||
#{status,jdbcType=VARCHAR},
|
#{status,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="testResourcePoolId != null">
|
<if test="testResourcePoolId != null">
|
||||||
#{testResourcePoolId,jdbcType=VARCHAR},
|
#{testResourcePoolId,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="loadConfiguration != null">
|
<if test="user != null">
|
||||||
#{loadConfiguration,jdbcType=LONGVARCHAR},
|
#{user,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="advancedConfiguration != null">
|
<if test="loadConfiguration != null">
|
||||||
#{advancedConfiguration,jdbcType=LONGVARCHAR},
|
#{loadConfiguration,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="schedule != null">
|
<if test="advancedConfiguration != null">
|
||||||
#{schedule,jdbcType=LONGVARCHAR},
|
#{advancedConfiguration,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="schedule != null">
|
||||||
|
#{schedule,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="io.metersphere.base.domain.LoadTestExample" resultType="java.lang.Long">
|
<select id="countByExample" parameterType="io.metersphere.base.domain.LoadTestExample" resultType="java.lang.Long">
|
||||||
|
@ -235,34 +250,37 @@
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.createTime != null">
|
<if test="record.createTime != null">
|
||||||
create_time = #{record.createTime,jdbcType=BIGINT},
|
create_time = #{record.createTime,jdbcType=BIGINT},
|
||||||
</if>
|
|
||||||
<if test="record.updateTime != null">
|
|
||||||
update_time = #{record.updateTime,jdbcType=BIGINT},
|
|
||||||
</if>
|
|
||||||
<if test="record.status != null">
|
|
||||||
status = #{record.status,jdbcType=VARCHAR},
|
|
||||||
</if>
|
|
||||||
<if test="record.testResourcePoolId != null">
|
|
||||||
test_resource_pool_id = #{record.testResourcePoolId,jdbcType=VARCHAR},
|
|
||||||
</if>
|
|
||||||
<if test="record.loadConfiguration != null">
|
|
||||||
load_configuration = #{record.loadConfiguration,jdbcType=LONGVARCHAR},
|
|
||||||
</if>
|
|
||||||
<if test="record.advancedConfiguration != null">
|
|
||||||
advanced_configuration = #{record.advancedConfiguration,jdbcType=LONGVARCHAR},
|
|
||||||
</if>
|
|
||||||
<if test="record.schedule != null">
|
|
||||||
schedule = #{record.schedule,jdbcType=LONGVARCHAR},
|
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.updateTime != null">
|
||||||
|
update_time = #{record.updateTime,jdbcType=BIGINT},
|
||||||
|
</if>
|
||||||
|
<if test="record.status != null">
|
||||||
|
status = #{record.status,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.testResourcePoolId != null">
|
||||||
|
test_resource_pool_id = #{record.testResourcePoolId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.user != null">
|
||||||
|
user = #{record.user,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.loadConfiguration != null">
|
||||||
|
load_configuration = #{record.loadConfiguration,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.advancedConfiguration != null">
|
||||||
|
advanced_configuration = #{record.advancedConfiguration,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.schedule != null">
|
||||||
|
schedule = #{record.schedule,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||||
update load_test
|
update load_test
|
||||||
set id = #{record.id,jdbcType=VARCHAR},
|
set id = #{record.id,jdbcType=VARCHAR},
|
||||||
project_id = #{record.projectId,jdbcType=VARCHAR},
|
project_id = #{record.projectId,jdbcType=VARCHAR},
|
||||||
name = #{record.name,jdbcType=VARCHAR},
|
name = #{record.name,jdbcType=VARCHAR},
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
|
@ -270,24 +288,26 @@
|
||||||
update_time = #{record.updateTime,jdbcType=BIGINT},
|
update_time = #{record.updateTime,jdbcType=BIGINT},
|
||||||
status = #{record.status,jdbcType=VARCHAR},
|
status = #{record.status,jdbcType=VARCHAR},
|
||||||
test_resource_pool_id = #{record.testResourcePoolId,jdbcType=VARCHAR},
|
test_resource_pool_id = #{record.testResourcePoolId,jdbcType=VARCHAR},
|
||||||
|
user = #{record.user,jdbcType=VARCHAR},
|
||||||
load_configuration = #{record.loadConfiguration,jdbcType=LONGVARCHAR},
|
load_configuration = #{record.loadConfiguration,jdbcType=LONGVARCHAR},
|
||||||
advanced_configuration = #{record.advancedConfiguration,jdbcType=LONGVARCHAR},
|
advanced_configuration = #{record.advancedConfiguration,jdbcType=LONGVARCHAR},
|
||||||
schedule = #{record.schedule,jdbcType=LONGVARCHAR}
|
schedule = #{record.schedule,jdbcType=LONGVARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByExample" parameterType="map">
|
<update id="updateByExample" parameterType="map">
|
||||||
update load_test
|
update load_test
|
||||||
set id = #{record.id,jdbcType=VARCHAR},
|
set id = #{record.id,jdbcType=VARCHAR},
|
||||||
project_id = #{record.projectId,jdbcType=VARCHAR},
|
project_id = #{record.projectId,jdbcType=VARCHAR},
|
||||||
name = #{record.name,jdbcType=VARCHAR},
|
name = #{record.name,jdbcType=VARCHAR},
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
create_time = #{record.createTime,jdbcType=BIGINT},
|
create_time = #{record.createTime,jdbcType=BIGINT},
|
||||||
update_time = #{record.updateTime,jdbcType=BIGINT},
|
update_time = #{record.updateTime,jdbcType=BIGINT},
|
||||||
status = #{record.status,jdbcType=VARCHAR},
|
status = #{record.status,jdbcType=VARCHAR},
|
||||||
test_resource_pool_id = #{record.testResourcePoolId,jdbcType=VARCHAR}
|
test_resource_pool_id = #{record.testResourcePoolId,jdbcType=VARCHAR},
|
||||||
<if test="_parameter != null">
|
user = #{record.user,jdbcType=VARCHAR}
|
||||||
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
</update>
|
</update>
|
||||||
|
@ -306,50 +326,55 @@
|
||||||
<if test="createTime != null">
|
<if test="createTime != null">
|
||||||
create_time = #{createTime,jdbcType=BIGINT},
|
create_time = #{createTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="updateTime != null">
|
<if test="updateTime != null">
|
||||||
update_time = #{updateTime,jdbcType=BIGINT},
|
update_time = #{updateTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="status != null">
|
<if test="status != null">
|
||||||
status = #{status,jdbcType=VARCHAR},
|
status = #{status,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="testResourcePoolId != null">
|
<if test="testResourcePoolId != null">
|
||||||
test_resource_pool_id = #{testResourcePoolId,jdbcType=VARCHAR},
|
test_resource_pool_id = #{testResourcePoolId,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="loadConfiguration != null">
|
<if test="user != null">
|
||||||
load_configuration = #{loadConfiguration,jdbcType=LONGVARCHAR},
|
user = #{user,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="advancedConfiguration != null">
|
<if test="loadConfiguration != null">
|
||||||
advanced_configuration = #{advancedConfiguration,jdbcType=LONGVARCHAR},
|
load_configuration = #{loadConfiguration,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="schedule != null">
|
<if test="advancedConfiguration != null">
|
||||||
schedule = #{schedule,jdbcType=LONGVARCHAR},
|
advanced_configuration = #{advancedConfiguration,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="schedule != null">
|
||||||
|
schedule = #{schedule,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="io.metersphere.base.domain.LoadTestWithBLOBs">
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="io.metersphere.base.domain.LoadTestWithBLOBs">
|
||||||
update load_test
|
update load_test
|
||||||
set project_id = #{projectId,jdbcType=VARCHAR},
|
set project_id = #{projectId,jdbcType=VARCHAR},
|
||||||
name = #{name,jdbcType=VARCHAR},
|
name = #{name,jdbcType=VARCHAR},
|
||||||
description = #{description,jdbcType=VARCHAR},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
create_time = #{createTime,jdbcType=BIGINT},
|
create_time = #{createTime,jdbcType=BIGINT},
|
||||||
update_time = #{updateTime,jdbcType=BIGINT},
|
update_time = #{updateTime,jdbcType=BIGINT},
|
||||||
status = #{status,jdbcType=VARCHAR},
|
status = #{status,jdbcType=VARCHAR},
|
||||||
test_resource_pool_id = #{testResourcePoolId,jdbcType=VARCHAR},
|
test_resource_pool_id = #{testResourcePoolId,jdbcType=VARCHAR},
|
||||||
|
user = #{user,jdbcType=VARCHAR},
|
||||||
load_configuration = #{loadConfiguration,jdbcType=LONGVARCHAR},
|
load_configuration = #{loadConfiguration,jdbcType=LONGVARCHAR},
|
||||||
advanced_configuration = #{advancedConfiguration,jdbcType=LONGVARCHAR},
|
advanced_configuration = #{advancedConfiguration,jdbcType=LONGVARCHAR},
|
||||||
schedule = #{schedule,jdbcType=LONGVARCHAR}
|
schedule = #{schedule,jdbcType=LONGVARCHAR}
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByPrimaryKey" parameterType="io.metersphere.base.domain.LoadTest">
|
<update id="updateByPrimaryKey" parameterType="io.metersphere.base.domain.LoadTest">
|
||||||
update load_test
|
update load_test
|
||||||
set project_id = #{projectId,jdbcType=VARCHAR},
|
set project_id = #{projectId,jdbcType=VARCHAR},
|
||||||
name = #{name,jdbcType=VARCHAR},
|
name = #{name,jdbcType=VARCHAR},
|
||||||
description = #{description,jdbcType=VARCHAR},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
create_time = #{createTime,jdbcType=BIGINT},
|
create_time = #{createTime,jdbcType=BIGINT},
|
||||||
update_time = #{updateTime,jdbcType=BIGINT},
|
update_time = #{updateTime,jdbcType=BIGINT},
|
||||||
status = #{status,jdbcType=VARCHAR},
|
status = #{status,jdbcType=VARCHAR},
|
||||||
test_resource_pool_id = #{testResourcePoolId,jdbcType=VARCHAR}
|
test_resource_pool_id = #{testResourcePoolId,jdbcType=VARCHAR},
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
user = #{user,jdbcType=VARCHAR}
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
|
@ -8,6 +8,7 @@
|
||||||
<result column="create_time" jdbcType="BIGINT" property="createTime" />
|
<result column="create_time" jdbcType="BIGINT" property="createTime" />
|
||||||
<result column="update_time" jdbcType="BIGINT" property="updateTime" />
|
<result column="update_time" jdbcType="BIGINT" property="updateTime" />
|
||||||
<result column="status" jdbcType="VARCHAR" property="status" />
|
<result column="status" jdbcType="VARCHAR" property="status" />
|
||||||
|
<result column="user" jdbcType="VARCHAR" property="user"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="io.metersphere.base.domain.LoadTestReport">
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="io.metersphere.base.domain.LoadTestReport">
|
||||||
<result column="description" jdbcType="LONGVARCHAR" property="description"/>
|
<result column="description" jdbcType="LONGVARCHAR" property="description"/>
|
||||||
|
@ -71,7 +72,13 @@
|
||||||
</where>
|
</where>
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
id, test_id, name, create_time, update_time, status
|
id,
|
||||||
|
test_id,
|
||||||
|
name,
|
||||||
|
create_time,
|
||||||
|
update_time,
|
||||||
|
status,
|
||||||
|
user
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
description
|
description
|
||||||
|
@ -114,23 +121,23 @@
|
||||||
from load_test_report
|
from load_test_report
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
</select>
|
</select>
|
||||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||||
delete from load_test_report
|
DELETE FROM load_test_report
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
WHERE id = #{id,jdbcType=VARCHAR}
|
||||||
</delete>
|
</delete>
|
||||||
<delete id="deleteByExample" parameterType="io.metersphere.base.domain.LoadTestReportExample">
|
<delete id="deleteByExample" parameterType="io.metersphere.base.domain.LoadTestReportExample">
|
||||||
delete from load_test_report
|
DELETE FROM load_test_report
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Example_Where_Clause" />
|
<include refid="Example_Where_Clause"/>
|
||||||
</if>
|
</if>
|
||||||
</delete>
|
</delete>
|
||||||
<insert id="insert" parameterType="io.metersphere.base.domain.LoadTestReport">
|
<insert id="insert" parameterType="io.metersphere.base.domain.LoadTestReport">
|
||||||
INSERT INTO load_test_report (id, test_id, name,
|
INSERT INTO load_test_report (id, test_id, name,
|
||||||
create_time, update_time, status,
|
create_time, update_time, status,
|
||||||
description)
|
user, description)
|
||||||
VALUES (#{id,jdbcType=VARCHAR}, #{testId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
VALUES (#{id,jdbcType=VARCHAR}, #{testId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
||||||
#{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}, #{status,jdbcType=VARCHAR},
|
#{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}, #{status,jdbcType=VARCHAR},
|
||||||
#{description,jdbcType=LONGVARCHAR})
|
#{user,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="io.metersphere.base.domain.LoadTestReport">
|
<insert id="insertSelective" parameterType="io.metersphere.base.domain.LoadTestReport">
|
||||||
insert into load_test_report
|
insert into load_test_report
|
||||||
|
@ -143,20 +150,23 @@
|
||||||
</if>
|
</if>
|
||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
name,
|
name,
|
||||||
</if>
|
</if>
|
||||||
<if test="createTime != null">
|
<if test="createTime != null">
|
||||||
create_time,
|
create_time,
|
||||||
</if>
|
</if>
|
||||||
<if test="updateTime != null">
|
<if test="updateTime != null">
|
||||||
update_time,
|
update_time,
|
||||||
</if>
|
</if>
|
||||||
<if test="status != null">
|
<if test="status != null">
|
||||||
status,
|
status,
|
||||||
</if>
|
</if>
|
||||||
<if test="description != null">
|
<if test="user != null">
|
||||||
description,
|
user,
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
<if test="description != null">
|
||||||
|
description,
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
#{id,jdbcType=VARCHAR},
|
#{id,jdbcType=VARCHAR},
|
||||||
|
@ -167,18 +177,21 @@
|
||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
#{name,jdbcType=VARCHAR},
|
#{name,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="createTime != null">
|
<if test="createTime != null">
|
||||||
#{createTime,jdbcType=BIGINT},
|
#{createTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="updateTime != null">
|
<if test="updateTime != null">
|
||||||
#{updateTime,jdbcType=BIGINT},
|
#{updateTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="status != null">
|
<if test="status != null">
|
||||||
#{status,jdbcType=VARCHAR},
|
#{status,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="description != null">
|
<if test="user != null">
|
||||||
#{description,jdbcType=LONGVARCHAR},
|
#{user,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="description != null">
|
||||||
|
#{description,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="io.metersphere.base.domain.LoadTestReportExample" resultType="java.lang.Long">
|
<select id="countByExample" parameterType="io.metersphere.base.domain.LoadTestReportExample" resultType="java.lang.Long">
|
||||||
|
@ -199,18 +212,21 @@
|
||||||
<if test="record.name != null">
|
<if test="record.name != null">
|
||||||
name = #{record.name,jdbcType=VARCHAR},
|
name = #{record.name,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.createTime != null">
|
<if test="record.createTime != null">
|
||||||
create_time = #{record.createTime,jdbcType=BIGINT},
|
create_time = #{record.createTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.updateTime != null">
|
<if test="record.updateTime != null">
|
||||||
update_time = #{record.updateTime,jdbcType=BIGINT},
|
update_time = #{record.updateTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.status != null">
|
<if test="record.status != null">
|
||||||
status = #{record.status,jdbcType=VARCHAR},
|
status = #{record.status,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.description != null">
|
<if test="record.user != null">
|
||||||
description = #{record.description,jdbcType=LONGVARCHAR},
|
user = #{record.user,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.description != null">
|
||||||
|
description = #{record.description,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
@ -224,25 +240,27 @@
|
||||||
create_time = #{record.createTime,jdbcType=BIGINT},
|
create_time = #{record.createTime,jdbcType=BIGINT},
|
||||||
update_time = #{record.updateTime,jdbcType=BIGINT},
|
update_time = #{record.updateTime,jdbcType=BIGINT},
|
||||||
status = #{record.status,jdbcType=VARCHAR},
|
status = #{record.status,jdbcType=VARCHAR},
|
||||||
|
user = #{record.user,jdbcType=VARCHAR},
|
||||||
description = #{record.description,jdbcType=LONGVARCHAR}
|
description = #{record.description,jdbcType=LONGVARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
</if>
|
</if>
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByExample" parameterType="map">
|
<update id="updateByExample" parameterType="map">
|
||||||
update load_test_report
|
UPDATE load_test_report
|
||||||
set id = #{record.id,jdbcType=VARCHAR},
|
SET id = #{record.id,jdbcType=VARCHAR},
|
||||||
test_id = #{record.testId,jdbcType=VARCHAR},
|
test_id = #{record.testId,jdbcType=VARCHAR},
|
||||||
name = #{record.name,jdbcType=VARCHAR},
|
name = #{record.name,jdbcType=VARCHAR},
|
||||||
create_time = #{record.createTime,jdbcType=BIGINT},
|
create_time = #{record.createTime,jdbcType=BIGINT},
|
||||||
update_time = #{record.updateTime,jdbcType=BIGINT},
|
update_time = #{record.updateTime,jdbcType=BIGINT},
|
||||||
status = #{record.status,jdbcType=VARCHAR}
|
status = #{record.status,jdbcType=VARCHAR},
|
||||||
<if test="_parameter != null">
|
user = #{record.user,jdbcType=VARCHAR}
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<if test="_parameter != null">
|
||||||
</if>
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
|
</if>
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByPrimaryKeySelective" parameterType="io.metersphere.base.domain.LoadTestReport">
|
<update id="updateByPrimaryKeySelective" parameterType="io.metersphere.base.domain.LoadTestReport">
|
||||||
update load_test_report
|
UPDATE load_test_report
|
||||||
<set>
|
<set>
|
||||||
<if test="testId != null">
|
<if test="testId != null">
|
||||||
test_id = #{testId,jdbcType=VARCHAR},
|
test_id = #{testId,jdbcType=VARCHAR},
|
||||||
|
@ -252,19 +270,22 @@
|
||||||
</if>
|
</if>
|
||||||
<if test="createTime != null">
|
<if test="createTime != null">
|
||||||
create_time = #{createTime,jdbcType=BIGINT},
|
create_time = #{createTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="updateTime != null">
|
<if test="updateTime != null">
|
||||||
update_time = #{updateTime,jdbcType=BIGINT},
|
update_time = #{updateTime,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="status != null">
|
<if test="status != null">
|
||||||
status = #{status,jdbcType=VARCHAR},
|
status = #{status,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="description != null">
|
<if test="user != null">
|
||||||
description = #{description,jdbcType=LONGVARCHAR},
|
user = #{user,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
</set>
|
<if test="description != null">
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
description = #{description,jdbcType=LONGVARCHAR},
|
||||||
</update>
|
</if>
|
||||||
|
</set>
|
||||||
|
WHERE id = #{id,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="io.metersphere.base.domain.LoadTestReport">
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="io.metersphere.base.domain.LoadTestReport">
|
||||||
UPDATE load_test_report
|
UPDATE load_test_report
|
||||||
SET test_id = #{testId,jdbcType=VARCHAR},
|
SET test_id = #{testId,jdbcType=VARCHAR},
|
||||||
|
@ -272,16 +293,18 @@
|
||||||
create_time = #{createTime,jdbcType=BIGINT},
|
create_time = #{createTime,jdbcType=BIGINT},
|
||||||
update_time = #{updateTime,jdbcType=BIGINT},
|
update_time = #{updateTime,jdbcType=BIGINT},
|
||||||
status = #{status,jdbcType=VARCHAR},
|
status = #{status,jdbcType=VARCHAR},
|
||||||
|
user = #{user,jdbcType=VARCHAR},
|
||||||
description = #{description,jdbcType=LONGVARCHAR}
|
description = #{description,jdbcType=LONGVARCHAR}
|
||||||
WHERE id = #{id,jdbcType=VARCHAR}
|
WHERE id = #{id,jdbcType=VARCHAR}
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByPrimaryKey" parameterType="io.metersphere.base.domain.LoadTestReport">
|
<update id="updateByPrimaryKey" parameterType="io.metersphere.base.domain.LoadTestReport">
|
||||||
update load_test_report
|
UPDATE load_test_report
|
||||||
set test_id = #{testId,jdbcType=VARCHAR},
|
SET test_id = #{testId,jdbcType=VARCHAR},
|
||||||
name = #{name,jdbcType=VARCHAR},
|
name = #{name,jdbcType=VARCHAR},
|
||||||
create_time = #{createTime,jdbcType=BIGINT},
|
create_time = #{createTime,jdbcType=BIGINT},
|
||||||
update_time = #{updateTime,jdbcType=BIGINT},
|
update_time = #{updateTime,jdbcType=BIGINT},
|
||||||
status = #{status,jdbcType=VARCHAR}
|
status = #{status,jdbcType=VARCHAR},
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
user = #{user,jdbcType=VARCHAR}
|
||||||
</update>
|
WHERE id = #{id,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
</mapper>
|
</mapper>
|
|
@ -20,23 +20,21 @@ CREATE TABLE IF NOT EXISTS `file_metadata` (
|
||||||
DEFAULT CHARSET = utf8mb4
|
DEFAULT CHARSET = utf8mb4
|
||||||
COLLATE = utf8mb4_general_ci;
|
COLLATE = utf8mb4_general_ci;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `load_test` (
|
CREATE TABLE `load_test` (
|
||||||
`id` varchar(50) NOT NULL COMMENT 'Test ID',
|
`id` varchar(50) NOT NULL COMMENT 'Test ID',
|
||||||
`project_id` varchar(50) NOT NULL COMMENT 'Project ID this test belongs to',
|
`project_id` varchar(50) NOT NULL COMMENT 'Project ID this test belongs to',
|
||||||
`name` varchar(64) NOT NULL COMMENT 'Test name',
|
`name` varchar(64) NOT NULL COMMENT 'Test name',
|
||||||
`description` varchar(255) DEFAULT NULL COMMENT 'Test description',
|
`description` varchar(255) DEFAULT NULL COMMENT 'Test description',
|
||||||
`load_configuration` longtext COMMENT 'Load configuration (JSON format)',
|
`load_configuration` longtext COMMENT 'Load configuration (JSON format)',
|
||||||
`advanced_configuration` longtext COMMENT 'Load configuration (JSON format)',
|
`advanced_configuration` longtext COMMENT 'Load configuration (JSON format)',
|
||||||
`schedule` longtext COMMENT 'Test schedule (cron list)',
|
`schedule` longtext COMMENT 'Test schedule (cron list)',
|
||||||
`create_time` bigint(13) NOT NULL COMMENT 'Create timestamp',
|
`create_time` bigint(13) NOT NULL COMMENT 'Create timestamp',
|
||||||
`update_time` bigint(13) NOT NULL COMMENT 'Update timestamp',
|
`update_time` bigint(13) NOT NULL COMMENT 'Update timestamp',
|
||||||
`status` varchar(64) DEFAULT NULL COMMENT 'Test Status Running, Completed, Error, etc.',
|
`status` varchar(64) DEFAULT NULL COMMENT 'Test Status Running, Completed, Error, etc.',
|
||||||
`test_resource_pool_id` varchar(50) DEFAULT NULL,
|
`test_resource_pool_id` varchar(50) DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`)
|
`user` varchar(64) DEFAULT NULL,
|
||||||
)
|
PRIMARY KEY (`id`)
|
||||||
ENGINE = InnoDB
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
DEFAULT CHARSET = utf8mb4
|
|
||||||
COLLATE = utf8mb4_general_ci;
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `load_test_file` (
|
CREATE TABLE IF NOT EXISTS `load_test_file` (
|
||||||
`test_id` varchar(64) DEFAULT NULL,
|
`test_id` varchar(64) DEFAULT NULL,
|
||||||
|
@ -46,19 +44,17 @@ CREATE TABLE IF NOT EXISTS `load_test_file` (
|
||||||
ENGINE = InnoDB
|
ENGINE = InnoDB
|
||||||
DEFAULT CHARSET = utf8mb4 COMMENT ='测试和文件的关联表';
|
DEFAULT CHARSET = utf8mb4 COMMENT ='测试和文件的关联表';
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `load_test_report` (
|
CREATE TABLE `load_test_report` (
|
||||||
`id` varchar(50) NOT NULL COMMENT 'Test report ID',
|
`id` varchar(50) NOT NULL COMMENT 'Test report ID',
|
||||||
`test_id` varchar(50) NOT NULL COMMENT 'Test ID this test report belongs to',
|
`test_id` varchar(50) NOT NULL COMMENT 'Test ID this test report belongs to',
|
||||||
`name` varchar(64) NOT NULL COMMENT 'Test report name',
|
`name` varchar(64) NOT NULL COMMENT 'Test report name',
|
||||||
`description` varchar(255) DEFAULT NULL COMMENT 'Test report name',
|
`description` text COMMENT 'Test report message',
|
||||||
`create_time` bigint(13) NOT NULL COMMENT 'Create timestamp',
|
`create_time` bigint(13) NOT NULL COMMENT 'Create timestamp',
|
||||||
`update_time` bigint(13) NOT NULL COMMENT 'Update timestamp',
|
`update_time` bigint(13) NOT NULL COMMENT 'Update timestamp',
|
||||||
`status` varchar(64) NOT NULL COMMENT 'Status of this test run',
|
`status` varchar(64) NOT NULL COMMENT 'Status of this test run',
|
||||||
PRIMARY KEY (`id`)
|
`user` varchar(64) DEFAULT NULL,
|
||||||
)
|
PRIMARY KEY (`id`)
|
||||||
ENGINE = InnoDB
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
DEFAULT CHARSET = utf8mb4
|
|
||||||
COLLATE = utf8mb4_general_ci;
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `load_test_report_detail` (
|
CREATE TABLE IF NOT EXISTS `load_test_report_detail` (
|
||||||
`report_id` varchar(50) NOT NULL,
|
`report_id` varchar(50) NOT NULL,
|
||||||
|
|
|
@ -60,6 +60,7 @@
|
||||||
<!--要生成的数据库表 -->
|
<!--要生成的数据库表 -->
|
||||||
|
|
||||||
<table tableName="load_test_report"/>
|
<table tableName="load_test_report"/>
|
||||||
|
<table tableName="load_test"/>
|
||||||
|
|
||||||
</context>
|
</context>
|
||||||
</generatorConfiguration>
|
</generatorConfiguration>
|
Loading…
Reference in New Issue