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}
root_source_id, account_name, gh_id, article_title, request_time, trace_id, push_type,
video_id, content_id, oss_name
delete from long_articles_root_source_id
where root_source_id = #{rootSourceId,jdbcType=VARCHAR}
delete from long_articles_root_source_id
insert into long_articles_root_source_id (root_source_id, account_name, gh_id,
article_title, request_time, trace_id,
push_type, video_id, content_id,
oss_name)
values (#{rootSourceId,jdbcType=VARCHAR}, #{accountName,jdbcType=VARCHAR}, #{ghId,jdbcType=VARCHAR},
#{articleTitle,jdbcType=VARCHAR}, #{requestTime,jdbcType=INTEGER}, #{traceId,jdbcType=VARCHAR},
#{pushType,jdbcType=INTEGER}, #{videoId,jdbcType=BIGINT}, #{contentId,jdbcType=VARCHAR},
#{ossName,jdbcType=VARCHAR})
insert into long_articles_root_source_id
root_source_id,
account_name,
gh_id,
article_title,
request_time,
trace_id,
push_type,
video_id,
content_id,
oss_name,
#{rootSourceId,jdbcType=VARCHAR},
#{accountName,jdbcType=VARCHAR},
#{ghId,jdbcType=VARCHAR},
#{articleTitle,jdbcType=VARCHAR},
#{requestTime,jdbcType=INTEGER},
#{traceId,jdbcType=VARCHAR},
#{pushType,jdbcType=INTEGER},
#{videoId,jdbcType=BIGINT},
#{contentId,jdbcType=VARCHAR},
#{ossName,jdbcType=VARCHAR},
update long_articles_root_source_id
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
account_name = #{record.accountName,jdbcType=VARCHAR},
gh_id = #{record.ghId,jdbcType=VARCHAR},
article_title = #{record.articleTitle,jdbcType=VARCHAR},
request_time = #{record.requestTime,jdbcType=INTEGER},
trace_id = #{record.traceId,jdbcType=VARCHAR},
push_type = #{record.pushType,jdbcType=INTEGER},
video_id = #{record.videoId,jdbcType=BIGINT},
content_id = #{record.contentId,jdbcType=VARCHAR},
oss_name = #{record.ossName,jdbcType=VARCHAR},
update long_articles_root_source_id
set root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
account_name = #{record.accountName,jdbcType=VARCHAR},
gh_id = #{record.ghId,jdbcType=VARCHAR},
article_title = #{record.articleTitle,jdbcType=VARCHAR},
request_time = #{record.requestTime,jdbcType=INTEGER},
trace_id = #{record.traceId,jdbcType=VARCHAR},
push_type = #{record.pushType,jdbcType=INTEGER},
video_id = #{record.videoId,jdbcType=BIGINT},
content_id = #{record.contentId,jdbcType=VARCHAR},
oss_name = #{record.ossName,jdbcType=VARCHAR}
update long_articles_root_source_id
account_name = #{accountName,jdbcType=VARCHAR},
gh_id = #{ghId,jdbcType=VARCHAR},
article_title = #{articleTitle,jdbcType=VARCHAR},
request_time = #{requestTime,jdbcType=INTEGER},
trace_id = #{traceId,jdbcType=VARCHAR},
push_type = #{pushType,jdbcType=INTEGER},
video_id = #{videoId,jdbcType=BIGINT},
content_id = #{contentId,jdbcType=VARCHAR},
oss_name = #{ossName,jdbcType=VARCHAR},
where root_source_id = #{rootSourceId,jdbcType=VARCHAR}
update long_articles_root_source_id
set account_name = #{accountName,jdbcType=VARCHAR},
gh_id = #{ghId,jdbcType=VARCHAR},
article_title = #{articleTitle,jdbcType=VARCHAR},
request_time = #{requestTime,jdbcType=INTEGER},
trace_id = #{traceId,jdbcType=VARCHAR},
push_type = #{pushType,jdbcType=INTEGER},
video_id = #{videoId,jdbcType=BIGINT},
content_id = #{contentId,jdbcType=VARCHAR},
oss_name = #{ossName,jdbcType=VARCHAR}
where root_source_id = #{rootSourceId,jdbcType=VARCHAR}