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, strategy, sort, strategy_dt, gh_id, msg_type, title, cover_url, mini_app_id,
mini_page_path, mini_video_id, page_path_url_id, news_publish_content_id, plan_id,
is_delete, create_time, update_time
delete from cgi_reply_bucket_data
where id = #{id,jdbcType=BIGINT}
delete from cgi_reply_bucket_data
SELECT LAST_INSERT_ID()
insert into cgi_reply_bucket_data (strategy, sort, strategy_dt,
gh_id, msg_type, title,
cover_url, mini_app_id, mini_page_path,
mini_video_id, page_path_url_id, news_publish_content_id,
plan_id, is_delete, create_time,
update_time)
values (#{strategy,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{strategyDt,jdbcType=VARCHAR},
#{ghId,jdbcType=VARCHAR}, #{msgType,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR},
#{coverUrl,jdbcType=VARCHAR}, #{miniAppId,jdbcType=VARCHAR}, #{miniPagePath,jdbcType=VARCHAR},
#{miniVideoId,jdbcType=BIGINT}, #{pagePathUrlId,jdbcType=BIGINT}, #{newsPublishContentId,jdbcType=VARCHAR},
#{planId,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
SELECT LAST_INSERT_ID()
insert into cgi_reply_bucket_data
strategy,
sort,
strategy_dt,
gh_id,
msg_type,
title,
cover_url,
mini_app_id,
mini_page_path,
mini_video_id,
page_path_url_id,
news_publish_content_id,
plan_id,
is_delete,
create_time,
update_time,
#{strategy,jdbcType=VARCHAR},
#{sort,jdbcType=INTEGER},
#{strategyDt,jdbcType=VARCHAR},
#{ghId,jdbcType=VARCHAR},
#{msgType,jdbcType=INTEGER},
#{title,jdbcType=VARCHAR},
#{coverUrl,jdbcType=VARCHAR},
#{miniAppId,jdbcType=VARCHAR},
#{miniPagePath,jdbcType=VARCHAR},
#{miniVideoId,jdbcType=BIGINT},
#{pagePathUrlId,jdbcType=BIGINT},
#{newsPublishContentId,jdbcType=VARCHAR},
#{planId,jdbcType=VARCHAR},
#{isDelete,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update cgi_reply_bucket_data
id = #{row.id,jdbcType=BIGINT},
strategy = #{row.strategy,jdbcType=VARCHAR},
sort = #{row.sort,jdbcType=INTEGER},
strategy_dt = #{row.strategyDt,jdbcType=VARCHAR},
gh_id = #{row.ghId,jdbcType=VARCHAR},
msg_type = #{row.msgType,jdbcType=INTEGER},
title = #{row.title,jdbcType=VARCHAR},
cover_url = #{row.coverUrl,jdbcType=VARCHAR},
mini_app_id = #{row.miniAppId,jdbcType=VARCHAR},
mini_page_path = #{row.miniPagePath,jdbcType=VARCHAR},
mini_video_id = #{row.miniVideoId,jdbcType=BIGINT},
page_path_url_id = #{row.pagePathUrlId,jdbcType=BIGINT},
news_publish_content_id = #{row.newsPublishContentId,jdbcType=VARCHAR},
plan_id = #{row.planId,jdbcType=VARCHAR},
is_delete = #{row.isDelete,jdbcType=INTEGER},
create_time = #{row.createTime,jdbcType=TIMESTAMP},
update_time = #{row.updateTime,jdbcType=TIMESTAMP},
update cgi_reply_bucket_data
set id = #{row.id,jdbcType=BIGINT},
strategy = #{row.strategy,jdbcType=VARCHAR},
sort = #{row.sort,jdbcType=INTEGER},
strategy_dt = #{row.strategyDt,jdbcType=VARCHAR},
gh_id = #{row.ghId,jdbcType=VARCHAR},
msg_type = #{row.msgType,jdbcType=INTEGER},
title = #{row.title,jdbcType=VARCHAR},
cover_url = #{row.coverUrl,jdbcType=VARCHAR},
mini_app_id = #{row.miniAppId,jdbcType=VARCHAR},
mini_page_path = #{row.miniPagePath,jdbcType=VARCHAR},
mini_video_id = #{row.miniVideoId,jdbcType=BIGINT},
page_path_url_id = #{row.pagePathUrlId,jdbcType=BIGINT},
news_publish_content_id = #{row.newsPublishContentId,jdbcType=VARCHAR},
plan_id = #{row.planId,jdbcType=VARCHAR},
is_delete = #{row.isDelete,jdbcType=INTEGER},
create_time = #{row.createTime,jdbcType=TIMESTAMP},
update_time = #{row.updateTime,jdbcType=TIMESTAMP}
update cgi_reply_bucket_data
strategy = #{strategy,jdbcType=VARCHAR},
sort = #{sort,jdbcType=INTEGER},
strategy_dt = #{strategyDt,jdbcType=VARCHAR},
gh_id = #{ghId,jdbcType=VARCHAR},
msg_type = #{msgType,jdbcType=INTEGER},
title = #{title,jdbcType=VARCHAR},
cover_url = #{coverUrl,jdbcType=VARCHAR},
mini_app_id = #{miniAppId,jdbcType=VARCHAR},
mini_page_path = #{miniPagePath,jdbcType=VARCHAR},
mini_video_id = #{miniVideoId,jdbcType=BIGINT},
page_path_url_id = #{pagePathUrlId,jdbcType=BIGINT},
news_publish_content_id = #{newsPublishContentId,jdbcType=VARCHAR},
plan_id = #{planId,jdbcType=VARCHAR},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update cgi_reply_bucket_data
set strategy = #{strategy,jdbcType=VARCHAR},
sort = #{sort,jdbcType=INTEGER},
strategy_dt = #{strategyDt,jdbcType=VARCHAR},
gh_id = #{ghId,jdbcType=VARCHAR},
msg_type = #{msgType,jdbcType=INTEGER},
title = #{title,jdbcType=VARCHAR},
cover_url = #{coverUrl,jdbcType=VARCHAR},
mini_app_id = #{miniAppId,jdbcType=VARCHAR},
mini_page_path = #{miniPagePath,jdbcType=VARCHAR},
mini_video_id = #{miniVideoId,jdbcType=BIGINT},
page_path_url_id = #{pagePathUrlId,jdbcType=BIGINT},
news_publish_content_id = #{newsPublishContentId,jdbcType=VARCHAR},
plan_id = #{planId,jdbcType=VARCHAR},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}