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, content_id, plan_account_id, publish_content_id, app_id, app_name, avatar, mini_id,
mini_program_type, video_id, `source`, video_title, video_cover, video_path, production_path,
root_source_id, root_share_id, `index`, trace_id, wx_url, crawler_video_id, video_oss_path,
user_id, new_video_cover_id, is_delete, create_time, update_time
delete from long_articles_publish_miniprogram
where id = #{id,jdbcType=BIGINT}
delete from long_articles_publish_miniprogram
insert into long_articles_publish_miniprogram (id, content_id, plan_account_id,
publish_content_id, app_id, app_name,
avatar, mini_id, mini_program_type,
video_id, `source`, video_title,
video_cover, video_path, production_path,
root_source_id, root_share_id, `index`,
trace_id, wx_url, crawler_video_id,
video_oss_path, user_id, new_video_cover_id,
is_delete, create_time, update_time
)
values (#{id,jdbcType=BIGINT}, #{contentId,jdbcType=BIGINT}, #{planAccountId,jdbcType=BIGINT},
#{publishContentId,jdbcType=VARCHAR}, #{appId,jdbcType=VARCHAR}, #{appName,jdbcType=VARCHAR},
#{avatar,jdbcType=VARCHAR}, #{miniId,jdbcType=INTEGER}, #{miniProgramType,jdbcType=INTEGER},
#{videoId,jdbcType=BIGINT}, #{source,jdbcType=VARCHAR}, #{videoTitle,jdbcType=VARCHAR},
#{videoCover,jdbcType=VARCHAR}, #{videoPath,jdbcType=VARCHAR}, #{productionPath,jdbcType=VARCHAR},
#{rootSourceId,jdbcType=VARCHAR}, #{rootShareId,jdbcType=VARCHAR}, #{index,jdbcType=INTEGER},
#{traceId,jdbcType=VARCHAR}, #{wxUrl,jdbcType=VARCHAR}, #{crawlerVideoId,jdbcType=INTEGER},
#{videoOssPath,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{newVideoCoverId,jdbcType=BIGINT},
#{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
insert into long_articles_publish_miniprogram
id,
content_id,
plan_account_id,
publish_content_id,
app_id,
app_name,
avatar,
mini_id,
mini_program_type,
video_id,
`source`,
video_title,
video_cover,
video_path,
production_path,
root_source_id,
root_share_id,
`index`,
trace_id,
wx_url,
crawler_video_id,
video_oss_path,
user_id,
new_video_cover_id,
is_delete,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{contentId,jdbcType=BIGINT},
#{planAccountId,jdbcType=BIGINT},
#{publishContentId,jdbcType=VARCHAR},
#{appId,jdbcType=VARCHAR},
#{appName,jdbcType=VARCHAR},
#{avatar,jdbcType=VARCHAR},
#{miniId,jdbcType=INTEGER},
#{miniProgramType,jdbcType=INTEGER},
#{videoId,jdbcType=BIGINT},
#{source,jdbcType=VARCHAR},
#{videoTitle,jdbcType=VARCHAR},
#{videoCover,jdbcType=VARCHAR},
#{videoPath,jdbcType=VARCHAR},
#{productionPath,jdbcType=VARCHAR},
#{rootSourceId,jdbcType=VARCHAR},
#{rootShareId,jdbcType=VARCHAR},
#{index,jdbcType=INTEGER},
#{traceId,jdbcType=VARCHAR},
#{wxUrl,jdbcType=VARCHAR},
#{crawlerVideoId,jdbcType=INTEGER},
#{videoOssPath,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR},
#{newVideoCoverId,jdbcType=BIGINT},
#{isDelete,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update long_articles_publish_miniprogram
id = #{record.id,jdbcType=BIGINT},
content_id = #{record.contentId,jdbcType=BIGINT},
plan_account_id = #{record.planAccountId,jdbcType=BIGINT},
publish_content_id = #{record.publishContentId,jdbcType=VARCHAR},
app_id = #{record.appId,jdbcType=VARCHAR},
app_name = #{record.appName,jdbcType=VARCHAR},
avatar = #{record.avatar,jdbcType=VARCHAR},
mini_id = #{record.miniId,jdbcType=INTEGER},
mini_program_type = #{record.miniProgramType,jdbcType=INTEGER},
video_id = #{record.videoId,jdbcType=BIGINT},
`source` = #{record.source,jdbcType=VARCHAR},
video_title = #{record.videoTitle,jdbcType=VARCHAR},
video_cover = #{record.videoCover,jdbcType=VARCHAR},
video_path = #{record.videoPath,jdbcType=VARCHAR},
production_path = #{record.productionPath,jdbcType=VARCHAR},
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
root_share_id = #{record.rootShareId,jdbcType=VARCHAR},
`index` = #{record.index,jdbcType=INTEGER},
trace_id = #{record.traceId,jdbcType=VARCHAR},
wx_url = #{record.wxUrl,jdbcType=VARCHAR},
crawler_video_id = #{record.crawlerVideoId,jdbcType=INTEGER},
video_oss_path = #{record.videoOssPath,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
new_video_cover_id = #{record.newVideoCoverId,jdbcType=BIGINT},
is_delete = #{record.isDelete,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update long_articles_publish_miniprogram
set id = #{record.id,jdbcType=BIGINT},
content_id = #{record.contentId,jdbcType=BIGINT},
plan_account_id = #{record.planAccountId,jdbcType=BIGINT},
publish_content_id = #{record.publishContentId,jdbcType=VARCHAR},
app_id = #{record.appId,jdbcType=VARCHAR},
app_name = #{record.appName,jdbcType=VARCHAR},
avatar = #{record.avatar,jdbcType=VARCHAR},
mini_id = #{record.miniId,jdbcType=INTEGER},
mini_program_type = #{record.miniProgramType,jdbcType=INTEGER},
video_id = #{record.videoId,jdbcType=BIGINT},
`source` = #{record.source,jdbcType=VARCHAR},
video_title = #{record.videoTitle,jdbcType=VARCHAR},
video_cover = #{record.videoCover,jdbcType=VARCHAR},
video_path = #{record.videoPath,jdbcType=VARCHAR},
production_path = #{record.productionPath,jdbcType=VARCHAR},
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
root_share_id = #{record.rootShareId,jdbcType=VARCHAR},
`index` = #{record.index,jdbcType=INTEGER},
trace_id = #{record.traceId,jdbcType=VARCHAR},
wx_url = #{record.wxUrl,jdbcType=VARCHAR},
crawler_video_id = #{record.crawlerVideoId,jdbcType=INTEGER},
video_oss_path = #{record.videoOssPath,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
new_video_cover_id = #{record.newVideoCoverId,jdbcType=BIGINT},
is_delete = #{record.isDelete,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update long_articles_publish_miniprogram
content_id = #{contentId,jdbcType=BIGINT},
plan_account_id = #{planAccountId,jdbcType=BIGINT},
publish_content_id = #{publishContentId,jdbcType=VARCHAR},
app_id = #{appId,jdbcType=VARCHAR},
app_name = #{appName,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
mini_id = #{miniId,jdbcType=INTEGER},
mini_program_type = #{miniProgramType,jdbcType=INTEGER},
video_id = #{videoId,jdbcType=BIGINT},
`source` = #{source,jdbcType=VARCHAR},
video_title = #{videoTitle,jdbcType=VARCHAR},
video_cover = #{videoCover,jdbcType=VARCHAR},
video_path = #{videoPath,jdbcType=VARCHAR},
production_path = #{productionPath,jdbcType=VARCHAR},
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
root_share_id = #{rootShareId,jdbcType=VARCHAR},
`index` = #{index,jdbcType=INTEGER},
trace_id = #{traceId,jdbcType=VARCHAR},
wx_url = #{wxUrl,jdbcType=VARCHAR},
crawler_video_id = #{crawlerVideoId,jdbcType=INTEGER},
video_oss_path = #{videoOssPath,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
new_video_cover_id = #{newVideoCoverId,jdbcType=BIGINT},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update long_articles_publish_miniprogram
set content_id = #{contentId,jdbcType=BIGINT},
plan_account_id = #{planAccountId,jdbcType=BIGINT},
publish_content_id = #{publishContentId,jdbcType=VARCHAR},
app_id = #{appId,jdbcType=VARCHAR},
app_name = #{appName,jdbcType=VARCHAR},
avatar = #{avatar,jdbcType=VARCHAR},
mini_id = #{miniId,jdbcType=INTEGER},
mini_program_type = #{miniProgramType,jdbcType=INTEGER},
video_id = #{videoId,jdbcType=BIGINT},
`source` = #{source,jdbcType=VARCHAR},
video_title = #{videoTitle,jdbcType=VARCHAR},
video_cover = #{videoCover,jdbcType=VARCHAR},
video_path = #{videoPath,jdbcType=VARCHAR},
production_path = #{productionPath,jdbcType=VARCHAR},
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
root_share_id = #{rootShareId,jdbcType=VARCHAR},
`index` = #{index,jdbcType=INTEGER},
trace_id = #{traceId,jdbcType=VARCHAR},
wx_url = #{wxUrl,jdbcType=VARCHAR},
crawler_video_id = #{crawlerVideoId,jdbcType=INTEGER},
video_oss_path = #{videoOssPath,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
new_video_cover_id = #{newVideoCoverId,jdbcType=BIGINT},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}