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_id, prd_type, `name`, remarks, author_id, update_time, creator_id,
city_code, `status`, sysFault
delete from ls_lesson
where id = #{id,jdbcType=BIGINT}
delete from ls_lesson
insert into ls_lesson (map_id, prd_id, prd_type,
`name`, remarks, author_id,
update_time, creator_id, city_code,
`status`, sysFault)
values (#{mapId,jdbcType=BIGINT}, #{prdId,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}, #{sysfault,jdbcType=BIT})
insert into ls_lesson
map_id,
prd_id,
prd_type,
`name`,
remarks,
author_id,
update_time,
creator_id,
city_code,
`status`,
sysFault,
#{mapId,jdbcType=BIGINT},
#{prdId,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},
#{sysfault,jdbcType=BIT},
update ls_lesson
id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
prd_id = #{record.prdId,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},
sysFault = #{record.sysfault,jdbcType=BIT},
update ls_lesson
set id = #{record.id,jdbcType=BIGINT},
map_id = #{record.mapId,jdbcType=BIGINT},
prd_id = #{record.prdId,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},
sysFault = #{record.sysfault,jdbcType=BIT}
update ls_lesson
map_id = #{mapId,jdbcType=BIGINT},
prd_id = #{prdId,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},
sysFault = #{sysfault,jdbcType=BIT},
where id = #{id,jdbcType=BIGINT}
update ls_lesson
set map_id = #{mapId,jdbcType=BIGINT},
prd_id = #{prdId,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},
sysFault = #{sysfault,jdbcType=BIT}
where id = #{id,jdbcType=BIGINT}