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