fix(UI 自动化): UI 导入场景速度慢优化
--bug=1013567 --user=周骏弘 【UI测试】导入较多场景-较慢 https://www.tapd.cn/55049933/s/1181571
This commit is contained in:
parent
aa0f9755a4
commit
d9866bb938
|
@ -160,27 +160,25 @@
|
||||||
insert into ui_scenario (id, project_id, tags,
|
insert into ui_scenario (id, project_id, tags,
|
||||||
user_id, module_id, module_path,
|
user_id, module_id, module_path,
|
||||||
`name`, `level`, `status`,
|
`name`, `level`, `status`,
|
||||||
principal, step_total, schedule,
|
principal, step_total,
|
||||||
create_time, update_time, pass_rate,
|
create_time, update_time, pass_rate,
|
||||||
last_result, report_id, num,
|
last_result, report_id, num,
|
||||||
original_state, custom_num, create_user,
|
original_state, custom_num, create_user,
|
||||||
version, delete_time, delete_user_id,
|
version, delete_time, delete_user_id,
|
||||||
execute_times, `order`, environment_type,
|
execute_times, `order`,
|
||||||
environment_group_id, version_id, ref_id,
|
version_id, ref_id,
|
||||||
latest, scenario_definition, description,
|
latest, scenario_definition, description)
|
||||||
use_url, environment_json)
|
|
||||||
values (#{id,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR}, #{tags,jdbcType=VARCHAR},
|
values (#{id,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR}, #{tags,jdbcType=VARCHAR},
|
||||||
#{userId,jdbcType=VARCHAR}, #{moduleId,jdbcType=VARCHAR}, #{modulePath,jdbcType=VARCHAR},
|
#{userId,jdbcType=VARCHAR}, #{moduleId,jdbcType=VARCHAR}, #{modulePath,jdbcType=VARCHAR},
|
||||||
#{name,jdbcType=VARCHAR}, #{level,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR},
|
#{name,jdbcType=VARCHAR}, #{level,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR},
|
||||||
#{principal,jdbcType=VARCHAR}, #{stepTotal,jdbcType=INTEGER}, #{schedule,jdbcType=VARCHAR},
|
#{principal,jdbcType=VARCHAR}, #{stepTotal,jdbcType=INTEGER},
|
||||||
#{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}, #{passRate,jdbcType=VARCHAR},
|
#{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}, #{passRate,jdbcType=VARCHAR},
|
||||||
#{lastResult,jdbcType=VARCHAR}, #{reportId,jdbcType=VARCHAR}, #{num,jdbcType=INTEGER},
|
#{lastResult,jdbcType=VARCHAR}, #{reportId,jdbcType=VARCHAR}, #{num,jdbcType=INTEGER},
|
||||||
#{originalState,jdbcType=VARCHAR}, #{customNum,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
|
#{originalState,jdbcType=VARCHAR}, #{customNum,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
|
||||||
#{version,jdbcType=INTEGER}, #{deleteTime,jdbcType=BIGINT}, #{deleteUserId,jdbcType=VARCHAR},
|
#{version,jdbcType=INTEGER}, #{deleteTime,jdbcType=BIGINT}, #{deleteUserId,jdbcType=VARCHAR},
|
||||||
#{executeTimes,jdbcType=INTEGER}, #{order,jdbcType=BIGINT}, #{environmentType,jdbcType=VARCHAR},
|
#{executeTimes,jdbcType=INTEGER}, #{order,jdbcType=BIGINT},
|
||||||
#{environmentGroupId,jdbcType=VARCHAR}, #{versionId,jdbcType=VARCHAR}, #{refId,jdbcType=VARCHAR},
|
#{versionId,jdbcType=VARCHAR}, #{refId,jdbcType=VARCHAR},
|
||||||
#{latest,jdbcType=BIT}, #{scenarioDefinition,jdbcType=LONGVARCHAR}, #{description,jdbcType=LONGVARCHAR},
|
#{latest,jdbcType=BIT}, #{scenarioDefinition,jdbcType=LONGVARCHAR}, #{description,jdbcType=LONGVARCHAR})
|
||||||
#{useUrl,jdbcType=LONGVARCHAR}, #{environmentJson,jdbcType=LONGVARCHAR})
|
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="io.metersphere.base.domain.UiScenarioWithBLOBs">
|
<insert id="insertSelective" parameterType="io.metersphere.base.domain.UiScenarioWithBLOBs">
|
||||||
insert into ui_scenario
|
insert into ui_scenario
|
||||||
|
@ -716,7 +714,6 @@
|
||||||
`status` = #{status,jdbcType=VARCHAR},
|
`status` = #{status,jdbcType=VARCHAR},
|
||||||
principal = #{principal,jdbcType=VARCHAR},
|
principal = #{principal,jdbcType=VARCHAR},
|
||||||
step_total = #{stepTotal,jdbcType=INTEGER},
|
step_total = #{stepTotal,jdbcType=INTEGER},
|
||||||
schedule = #{schedule,jdbcType=VARCHAR},
|
|
||||||
create_time = #{createTime,jdbcType=BIGINT},
|
create_time = #{createTime,jdbcType=BIGINT},
|
||||||
update_time = #{updateTime,jdbcType=BIGINT},
|
update_time = #{updateTime,jdbcType=BIGINT},
|
||||||
pass_rate = #{passRate,jdbcType=VARCHAR},
|
pass_rate = #{passRate,jdbcType=VARCHAR},
|
||||||
|
@ -731,15 +728,11 @@
|
||||||
delete_user_id = #{deleteUserId,jdbcType=VARCHAR},
|
delete_user_id = #{deleteUserId,jdbcType=VARCHAR},
|
||||||
execute_times = #{executeTimes,jdbcType=INTEGER},
|
execute_times = #{executeTimes,jdbcType=INTEGER},
|
||||||
`order` = #{order,jdbcType=BIGINT},
|
`order` = #{order,jdbcType=BIGINT},
|
||||||
environment_type = #{environmentType,jdbcType=VARCHAR},
|
|
||||||
environment_group_id = #{environmentGroupId,jdbcType=VARCHAR},
|
|
||||||
version_id = #{versionId,jdbcType=VARCHAR},
|
version_id = #{versionId,jdbcType=VARCHAR},
|
||||||
ref_id = #{refId,jdbcType=VARCHAR},
|
ref_id = #{refId,jdbcType=VARCHAR},
|
||||||
latest = #{latest,jdbcType=BIT},
|
latest = #{latest,jdbcType=BIT},
|
||||||
scenario_definition = #{scenarioDefinition,jdbcType=LONGVARCHAR},
|
scenario_definition = #{scenarioDefinition,jdbcType=LONGVARCHAR},
|
||||||
description = #{description,jdbcType=LONGVARCHAR},
|
description = #{description,jdbcType=LONGVARCHAR}
|
||||||
use_url = #{useUrl,jdbcType=LONGVARCHAR},
|
|
||||||
environment_json = #{environmentJson,jdbcType=LONGVARCHAR}
|
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
</update>
|
</update>
|
||||||
<update id="updateByPrimaryKey" parameterType="io.metersphere.base.domain.UiScenario">
|
<update id="updateByPrimaryKey" parameterType="io.metersphere.base.domain.UiScenario">
|
||||||
|
|
Loading…
Reference in New Issue