and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, map_id, `name`, creator_id, create_time, `status`, explanation
trips
delete from run_plan_draft
where id = #{id,jdbcType=BIGINT}
delete from run_plan_draft
insert into run_plan_draft (map_id, `name`, creator_id,
create_time, `status`, explanation,
trips)
values (#{mapId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{creatorId,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=VARCHAR}, #{explanation,jdbcType=VARCHAR},
#{trips,jdbcType=LONGVARCHAR})
insert into run_plan_draft
map_id,
`name`,
creator_id,
create_time,
`status`,
explanation,
trips,
#{mapId,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR},
#{creatorId,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{status,jdbcType=VARCHAR},
#{explanation,jdbcType=VARCHAR},
#{trips,jdbcType=LONGVARCHAR},
update run_plan_draft
id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
`name` = #{record.name,jdbcType=VARCHAR},
creator_id = #{record.creatorId,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
`status` = #{record.status,jdbcType=VARCHAR},
explanation = #{record.explanation,jdbcType=VARCHAR},
trips = #{record.trips,jdbcType=LONGVARCHAR},
update run_plan_draft
set id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
`name` = #{record.name,jdbcType=VARCHAR},
creator_id = #{record.creatorId,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
`status` = #{record.status,jdbcType=VARCHAR},
explanation = #{record.explanation,jdbcType=VARCHAR},
trips = #{record.trips,jdbcType=LONGVARCHAR}
update run_plan_draft
set id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
`name` = #{record.name,jdbcType=VARCHAR},
creator_id = #{record.creatorId,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
`status` = #{record.status,jdbcType=VARCHAR},
explanation = #{record.explanation,jdbcType=VARCHAR}
update run_plan_draft
map_id = #{mapId,jdbcType=BIGINT},
`name` = #{name,jdbcType=VARCHAR},
creator_id = #{creatorId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
`status` = #{status,jdbcType=VARCHAR},
explanation = #{explanation,jdbcType=VARCHAR},
trips = #{trips,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=BIGINT}
update run_plan_draft
set map_id = #{mapId,jdbcType=BIGINT},
`name` = #{name,jdbcType=VARCHAR},
creator_id = #{creatorId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
`status` = #{status,jdbcType=VARCHAR},
explanation = #{explanation,jdbcType=VARCHAR},
trips = #{trips,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=BIGINT}
update run_plan_draft
set map_id = #{mapId,jdbcType=BIGINT},
`name` = #{name,jdbcType=VARCHAR},
creator_id = #{creatorId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
`status` = #{status,jdbcType=VARCHAR},
explanation = #{explanation,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}