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, prd_type, `name`, remarks, author_id, update_time, creator_id, city_code,
`status`
delete from ls_lesson
where id = #{id,jdbcType=BIGINT}
delete from ls_lesson
insert into ls_lesson (map_id, prd_type, `name`,
remarks, author_id, update_time,
creator_id, city_code, `status`
)
values (#{mapId,jdbcType=BIGINT}, #{prdType,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR}, #{authorId,jdbcType=BIGINT}, #{updateTime,jdbcType=TIMESTAMP},
#{creatorId,jdbcType=BIGINT}, #{cityCode,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}
)
insert into ls_lesson
map_id,
prd_type,
`name`,
remarks,
author_id,
update_time,
creator_id,
city_code,
`status`,
#{mapId,jdbcType=BIGINT},
#{prdType,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR},
#{authorId,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP},
#{creatorId,jdbcType=BIGINT},
#{cityCode,jdbcType=VARCHAR},
#{status,jdbcType=VARCHAR},
update ls_lesson
id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
prd_type = #{record.prdType,jdbcType=VARCHAR},
`name` = #{record.name,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR},
author_id = #{record.authorId,jdbcType=BIGINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
creator_id = #{record.creatorId,jdbcType=BIGINT},
city_code = #{record.cityCode,jdbcType=VARCHAR},
`status` = #{record.status,jdbcType=VARCHAR},
update ls_lesson
set id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
prd_type = #{record.prdType,jdbcType=VARCHAR},
`name` = #{record.name,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR},
author_id = #{record.authorId,jdbcType=BIGINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
creator_id = #{record.creatorId,jdbcType=BIGINT},
city_code = #{record.cityCode,jdbcType=VARCHAR},
`status` = #{record.status,jdbcType=VARCHAR}
update ls_lesson
map_id = #{mapId,jdbcType=BIGINT},
prd_type = #{prdType,jdbcType=VARCHAR},
`name` = #{name,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
author_id = #{authorId,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
creator_id = #{creatorId,jdbcType=BIGINT},
city_code = #{cityCode,jdbcType=VARCHAR},
`status` = #{status,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update ls_lesson
set map_id = #{mapId,jdbcType=BIGINT},
prd_type = #{prdType,jdbcType=VARCHAR},
`name` = #{name,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
author_id = #{authorId,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
creator_id = #{creatorId,jdbcType=BIGINT},
city_code = #{cityCode,jdbcType=VARCHAR},
`status` = #{status,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}