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, achievement_id, publish_platform, publish_client, publish_page, if_top, top_number,
show_number, publisher, publish_time
delete from achievement_publish
where id = #{id,jdbcType=VARCHAR}
delete from achievement_publish
insert into achievement_publish (id, achievement_id, publish_platform,
publish_client, publish_page, if_top,
top_number, show_number, publisher,
publish_time)
values (#{id,jdbcType=VARCHAR}, #{achievementId,jdbcType=VARCHAR}, #{publishPlatform,jdbcType=INTEGER},
#{publishClient,jdbcType=INTEGER}, #{publishPage,jdbcType=VARCHAR}, #{ifTop,jdbcType=INTEGER},
#{topNumber,jdbcType=INTEGER}, #{showNumber,jdbcType=INTEGER}, #{publisher,jdbcType=VARCHAR},
#{publishTime,jdbcType=TIMESTAMP})
insert into achievement_publish
id,
achievement_id,
publish_platform,
publish_client,
publish_page,
if_top,
top_number,
show_number,
publisher,
publish_time,
#{id,jdbcType=VARCHAR},
#{achievementId,jdbcType=VARCHAR},
#{publishPlatform,jdbcType=INTEGER},
#{publishClient,jdbcType=INTEGER},
#{publishPage,jdbcType=VARCHAR},
#{ifTop,jdbcType=INTEGER},
#{topNumber,jdbcType=INTEGER},
#{showNumber,jdbcType=INTEGER},
#{publisher,jdbcType=VARCHAR},
#{publishTime,jdbcType=TIMESTAMP},
update achievement_publish
id = #{record.id,jdbcType=VARCHAR},
achievement_id = #{record.achievementId,jdbcType=VARCHAR},
publish_platform = #{record.publishPlatform,jdbcType=INTEGER},
publish_client = #{record.publishClient,jdbcType=INTEGER},
publish_page = #{record.publishPage,jdbcType=VARCHAR},
if_top = #{record.ifTop,jdbcType=INTEGER},
top_number = #{record.topNumber,jdbcType=INTEGER},
show_number = #{record.showNumber,jdbcType=INTEGER},
publisher = #{record.publisher,jdbcType=VARCHAR},
publish_time = #{record.publishTime,jdbcType=TIMESTAMP},
update achievement_publish
set id = #{record.id,jdbcType=VARCHAR},
achievement_id = #{record.achievementId,jdbcType=VARCHAR},
publish_platform = #{record.publishPlatform,jdbcType=INTEGER},
publish_client = #{record.publishClient,jdbcType=INTEGER},
publish_page = #{record.publishPage,jdbcType=VARCHAR},
if_top = #{record.ifTop,jdbcType=INTEGER},
top_number = #{record.topNumber,jdbcType=INTEGER},
show_number = #{record.showNumber,jdbcType=INTEGER},
publisher = #{record.publisher,jdbcType=VARCHAR},
publish_time = #{record.publishTime,jdbcType=TIMESTAMP}
update achievement_publish
achievement_id = #{achievementId,jdbcType=VARCHAR},
publish_platform = #{publishPlatform,jdbcType=INTEGER},
publish_client = #{publishClient,jdbcType=INTEGER},
publish_page = #{publishPage,jdbcType=VARCHAR},
if_top = #{ifTop,jdbcType=INTEGER},
top_number = #{topNumber,jdbcType=INTEGER},
show_number = #{showNumber,jdbcType=INTEGER},
publisher = #{publisher,jdbcType=VARCHAR},
publish_time = #{publishTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=VARCHAR}
update achievement_publish
set achievement_id = #{achievementId,jdbcType=VARCHAR},
publish_platform = #{publishPlatform,jdbcType=INTEGER},
publish_client = #{publishClient,jdbcType=INTEGER},
publish_page = #{publishPage,jdbcType=VARCHAR},
if_top = #{ifTop,jdbcType=INTEGER},
top_number = #{topNumber,jdbcType=INTEGER},
show_number = #{showNumber,jdbcType=INTEGER},
publisher = #{publisher,jdbcType=VARCHAR},
publish_time = #{publishTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}