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`, start_station_code, start_section_code, end_station_code, end_section_code,
description, user_id, create_time, update_time
via_sections
delete from plan_routing
where id = #{id,jdbcType=BIGINT}
delete from plan_routing
insert into plan_routing (map_id, `name`, start_station_code,
start_section_code, end_station_code, end_section_code,
description, user_id, create_time,
update_time, via_sections)
values (#{mapId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{startStationCode,jdbcType=VARCHAR},
#{startSectionCode,jdbcType=VARCHAR}, #{endStationCode,jdbcType=VARCHAR}, #{endSectionCode,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{viaSections,jdbcType=LONGVARCHAR})
insert into plan_routing
map_id,
`name`,
start_station_code,
start_section_code,
end_station_code,
end_section_code,
description,
user_id,
create_time,
update_time,
via_sections,
#{mapId,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR},
#{startStationCode,jdbcType=VARCHAR},
#{startSectionCode,jdbcType=VARCHAR},
#{endStationCode,jdbcType=VARCHAR},
#{endSectionCode,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR},
#{userId,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{viaSections,jdbcType=LONGVARCHAR},
update plan_routing
id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
`name` = #{record.name,jdbcType=VARCHAR},
start_station_code = #{record.startStationCode,jdbcType=VARCHAR},
start_section_code = #{record.startSectionCode,jdbcType=VARCHAR},
end_station_code = #{record.endStationCode,jdbcType=VARCHAR},
end_section_code = #{record.endSectionCode,jdbcType=VARCHAR},
description = #{record.description,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
via_sections = #{record.viaSections,jdbcType=LONGVARCHAR},
update plan_routing
set id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
`name` = #{record.name,jdbcType=VARCHAR},
start_station_code = #{record.startStationCode,jdbcType=VARCHAR},
start_section_code = #{record.startSectionCode,jdbcType=VARCHAR},
end_station_code = #{record.endStationCode,jdbcType=VARCHAR},
end_section_code = #{record.endSectionCode,jdbcType=VARCHAR},
description = #{record.description,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
via_sections = #{record.viaSections,jdbcType=LONGVARCHAR}
update plan_routing
set id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
`name` = #{record.name,jdbcType=VARCHAR},
start_station_code = #{record.startStationCode,jdbcType=VARCHAR},
start_section_code = #{record.startSectionCode,jdbcType=VARCHAR},
end_station_code = #{record.endStationCode,jdbcType=VARCHAR},
end_section_code = #{record.endSectionCode,jdbcType=VARCHAR},
description = #{record.description,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update plan_routing
map_id = #{mapId,jdbcType=BIGINT},
`name` = #{name,jdbcType=VARCHAR},
start_station_code = #{startStationCode,jdbcType=VARCHAR},
start_section_code = #{startSectionCode,jdbcType=VARCHAR},
end_station_code = #{endStationCode,jdbcType=VARCHAR},
end_section_code = #{endSectionCode,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
via_sections = #{viaSections,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=BIGINT}
update plan_routing
set map_id = #{mapId,jdbcType=BIGINT},
`name` = #{name,jdbcType=VARCHAR},
start_station_code = #{startStationCode,jdbcType=VARCHAR},
start_section_code = #{startSectionCode,jdbcType=VARCHAR},
end_station_code = #{endStationCode,jdbcType=VARCHAR},
end_section_code = #{endSectionCode,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
via_sections = #{viaSections,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=BIGINT}
update plan_routing
set map_id = #{mapId,jdbcType=BIGINT},
`name` = #{name,jdbcType=VARCHAR},
start_station_code = #{startStationCode,jdbcType=VARCHAR},
start_section_code = #{startSectionCode,jdbcType=VARCHAR},
end_station_code = #{endStationCode,jdbcType=VARCHAR},
end_section_code = #{endSectionCode,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}