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, root_source_id, channel, partner_id, account_id, creative_id, article_id, card_id,
package_id, `status`, is_delete, create_time, update_time
delete from external_channel
where id = #{id,jdbcType=BIGINT}
delete from external_channel
insert into external_channel (id, root_source_id, channel,
partner_id, account_id, creative_id,
article_id, card_id, package_id,
`status`, is_delete, create_time,
update_time)
values (#{id,jdbcType=BIGINT}, #{rootSourceId,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR},
#{partnerId,jdbcType=VARCHAR}, #{accountId,jdbcType=VARCHAR}, #{creativeId,jdbcType=VARCHAR},
#{articleId,jdbcType=VARCHAR}, #{cardId,jdbcType=VARCHAR}, #{packageId,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
insert into external_channel
id,
root_source_id,
channel,
partner_id,
account_id,
creative_id,
article_id,
card_id,
package_id,
`status`,
is_delete,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{rootSourceId,jdbcType=VARCHAR},
#{channel,jdbcType=VARCHAR},
#{partnerId,jdbcType=VARCHAR},
#{accountId,jdbcType=VARCHAR},
#{creativeId,jdbcType=VARCHAR},
#{articleId,jdbcType=VARCHAR},
#{cardId,jdbcType=VARCHAR},
#{packageId,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{isDelete,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update external_channel
id = #{record.id,jdbcType=BIGINT},
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
channel = #{record.channel,jdbcType=VARCHAR},
partner_id = #{record.partnerId,jdbcType=VARCHAR},
account_id = #{record.accountId,jdbcType=VARCHAR},
creative_id = #{record.creativeId,jdbcType=VARCHAR},
article_id = #{record.articleId,jdbcType=VARCHAR},
card_id = #{record.cardId,jdbcType=VARCHAR},
package_id = #{record.packageId,jdbcType=VARCHAR},
`status` = #{record.status,jdbcType=INTEGER},
is_delete = #{record.isDelete,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update external_channel
set id = #{record.id,jdbcType=BIGINT},
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
channel = #{record.channel,jdbcType=VARCHAR},
partner_id = #{record.partnerId,jdbcType=VARCHAR},
account_id = #{record.accountId,jdbcType=VARCHAR},
creative_id = #{record.creativeId,jdbcType=VARCHAR},
article_id = #{record.articleId,jdbcType=VARCHAR},
card_id = #{record.cardId,jdbcType=VARCHAR},
package_id = #{record.packageId,jdbcType=VARCHAR},
`status` = #{record.status,jdbcType=INTEGER},
is_delete = #{record.isDelete,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update external_channel
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
channel = #{channel,jdbcType=VARCHAR},
partner_id = #{partnerId,jdbcType=VARCHAR},
account_id = #{accountId,jdbcType=VARCHAR},
creative_id = #{creativeId,jdbcType=VARCHAR},
article_id = #{articleId,jdbcType=VARCHAR},
card_id = #{cardId,jdbcType=VARCHAR},
package_id = #{packageId,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update external_channel
set root_source_id = #{rootSourceId,jdbcType=VARCHAR},
channel = #{channel,jdbcType=VARCHAR},
partner_id = #{partnerId,jdbcType=VARCHAR},
account_id = #{accountId,jdbcType=VARCHAR},
creative_id = #{creativeId,jdbcType=VARCHAR},
article_id = #{articleId,jdbcType=VARCHAR},
card_id = #{cardId,jdbcType=VARCHAR},
package_id = #{packageId,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}