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, lesson_id, version, creator_id, update_time
delete from ls_lesson_version
where id = #{id,jdbcType=BIGINT}
delete from ls_lesson_version
insert into ls_lesson_version (lesson_id, version, creator_id,
update_time)
values (#{lessonId,jdbcType=BIGINT}, #{version,jdbcType=VARCHAR}, #{creatorId,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP})
insert into ls_lesson_version
lesson_id,
version,
creator_id,
update_time,
#{lessonId,jdbcType=BIGINT},
#{version,jdbcType=VARCHAR},
#{creatorId,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP},
update ls_lesson_version
id = #{record.id,jdbcType=BIGINT},
lesson_id = #{record.lessonId,jdbcType=BIGINT},
version = #{record.version,jdbcType=VARCHAR},
creator_id = #{record.creatorId,jdbcType=BIGINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update ls_lesson_version
set id = #{record.id,jdbcType=BIGINT},
lesson_id = #{record.lessonId,jdbcType=BIGINT},
version = #{record.version,jdbcType=VARCHAR},
creator_id = #{record.creatorId,jdbcType=BIGINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update ls_lesson_version
lesson_id = #{lessonId,jdbcType=BIGINT},
version = #{version,jdbcType=VARCHAR},
creator_id = #{creatorId,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update ls_lesson_version
set lesson_id = #{lessonId,jdbcType=BIGINT},
version = #{version,jdbcType=VARCHAR},
creator_id = #{creatorId,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}