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, plan_id, plan_name, account_id, account_name, gh_id, publish_rate, publish_date,
publish_window_start, publish_window_end, publish_time_interval, publish_num, publish_pre_num,
publish_pre_min_num, publish_push_time, push_type, miniprogram_insert_flag, mini_strategy,
miniprogram_use_type, sort_strategy, exclude_content_index, `status`, match_status,
retry_count, send_count, publish_open_flag, is_delete, create_time, update_time
delete from long_articles_plan_account
where id = #{id,jdbcType=BIGINT}
delete from long_articles_plan_account
insert into long_articles_plan_account (id, plan_id, plan_name,
account_id, account_name, gh_id,
publish_rate, publish_date, publish_window_start,
publish_window_end, publish_time_interval,
publish_num, publish_pre_num, publish_pre_min_num,
publish_push_time, push_type, miniprogram_insert_flag,
mini_strategy, miniprogram_use_type, sort_strategy,
exclude_content_index, `status`, match_status,
retry_count, send_count, publish_open_flag,
is_delete, create_time, update_time
)
values (#{id,jdbcType=BIGINT}, #{planId,jdbcType=VARCHAR}, #{planName,jdbcType=VARCHAR},
#{accountId,jdbcType=VARCHAR}, #{accountName,jdbcType=VARCHAR}, #{ghId,jdbcType=VARCHAR},
#{publishRate,jdbcType=INTEGER}, #{publishDate,jdbcType=VARCHAR}, #{publishWindowStart,jdbcType=VARCHAR},
#{publishWindowEnd,jdbcType=VARCHAR}, #{publishTimeInterval,jdbcType=INTEGER},
#{publishNum,jdbcType=INTEGER}, #{publishPreNum,jdbcType=INTEGER}, #{publishPreMinNum,jdbcType=INTEGER},
#{publishPushTime,jdbcType=VARCHAR}, #{pushType,jdbcType=INTEGER}, #{miniprogramInsertFlag,jdbcType=INTEGER},
#{miniStrategy,jdbcType=VARCHAR}, #{miniprogramUseType,jdbcType=INTEGER}, #{sortStrategy,jdbcType=VARCHAR},
#{excludeContentIndex,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{matchStatus,jdbcType=INTEGER},
#{retryCount,jdbcType=INTEGER}, #{sendCount,jdbcType=INTEGER}, #{publishOpenFlag,jdbcType=INTEGER},
#{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
insert into long_articles_plan_account
id,
plan_id,
plan_name,
account_id,
account_name,
gh_id,
publish_rate,
publish_date,
publish_window_start,
publish_window_end,
publish_time_interval,
publish_num,
publish_pre_num,
publish_pre_min_num,
publish_push_time,
push_type,
miniprogram_insert_flag,
mini_strategy,
miniprogram_use_type,
sort_strategy,
exclude_content_index,
`status`,
match_status,
retry_count,
send_count,
publish_open_flag,
is_delete,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{planId,jdbcType=VARCHAR},
#{planName,jdbcType=VARCHAR},
#{accountId,jdbcType=VARCHAR},
#{accountName,jdbcType=VARCHAR},
#{ghId,jdbcType=VARCHAR},
#{publishRate,jdbcType=INTEGER},
#{publishDate,jdbcType=VARCHAR},
#{publishWindowStart,jdbcType=VARCHAR},
#{publishWindowEnd,jdbcType=VARCHAR},
#{publishTimeInterval,jdbcType=INTEGER},
#{publishNum,jdbcType=INTEGER},
#{publishPreNum,jdbcType=INTEGER},
#{publishPreMinNum,jdbcType=INTEGER},
#{publishPushTime,jdbcType=VARCHAR},
#{pushType,jdbcType=INTEGER},
#{miniprogramInsertFlag,jdbcType=INTEGER},
#{miniStrategy,jdbcType=VARCHAR},
#{miniprogramUseType,jdbcType=INTEGER},
#{sortStrategy,jdbcType=VARCHAR},
#{excludeContentIndex,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{matchStatus,jdbcType=INTEGER},
#{retryCount,jdbcType=INTEGER},
#{sendCount,jdbcType=INTEGER},
#{publishOpenFlag,jdbcType=INTEGER},
#{isDelete,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update long_articles_plan_account
id = #{record.id,jdbcType=BIGINT},
plan_id = #{record.planId,jdbcType=VARCHAR},
plan_name = #{record.planName,jdbcType=VARCHAR},
account_id = #{record.accountId,jdbcType=VARCHAR},
account_name = #{record.accountName,jdbcType=VARCHAR},
gh_id = #{record.ghId,jdbcType=VARCHAR},
publish_rate = #{record.publishRate,jdbcType=INTEGER},
publish_date = #{record.publishDate,jdbcType=VARCHAR},
publish_window_start = #{record.publishWindowStart,jdbcType=VARCHAR},
publish_window_end = #{record.publishWindowEnd,jdbcType=VARCHAR},
publish_time_interval = #{record.publishTimeInterval,jdbcType=INTEGER},
publish_num = #{record.publishNum,jdbcType=INTEGER},
publish_pre_num = #{record.publishPreNum,jdbcType=INTEGER},
publish_pre_min_num = #{record.publishPreMinNum,jdbcType=INTEGER},
publish_push_time = #{record.publishPushTime,jdbcType=VARCHAR},
push_type = #{record.pushType,jdbcType=INTEGER},
miniprogram_insert_flag = #{record.miniprogramInsertFlag,jdbcType=INTEGER},
mini_strategy = #{record.miniStrategy,jdbcType=VARCHAR},
miniprogram_use_type = #{record.miniprogramUseType,jdbcType=INTEGER},
sort_strategy = #{record.sortStrategy,jdbcType=VARCHAR},
exclude_content_index = #{record.excludeContentIndex,jdbcType=VARCHAR},
`status` = #{record.status,jdbcType=INTEGER},
match_status = #{record.matchStatus,jdbcType=INTEGER},
retry_count = #{record.retryCount,jdbcType=INTEGER},
send_count = #{record.sendCount,jdbcType=INTEGER},
publish_open_flag = #{record.publishOpenFlag,jdbcType=INTEGER},
is_delete = #{record.isDelete,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update long_articles_plan_account
set id = #{record.id,jdbcType=BIGINT},
plan_id = #{record.planId,jdbcType=VARCHAR},
plan_name = #{record.planName,jdbcType=VARCHAR},
account_id = #{record.accountId,jdbcType=VARCHAR},
account_name = #{record.accountName,jdbcType=VARCHAR},
gh_id = #{record.ghId,jdbcType=VARCHAR},
publish_rate = #{record.publishRate,jdbcType=INTEGER},
publish_date = #{record.publishDate,jdbcType=VARCHAR},
publish_window_start = #{record.publishWindowStart,jdbcType=VARCHAR},
publish_window_end = #{record.publishWindowEnd,jdbcType=VARCHAR},
publish_time_interval = #{record.publishTimeInterval,jdbcType=INTEGER},
publish_num = #{record.publishNum,jdbcType=INTEGER},
publish_pre_num = #{record.publishPreNum,jdbcType=INTEGER},
publish_pre_min_num = #{record.publishPreMinNum,jdbcType=INTEGER},
publish_push_time = #{record.publishPushTime,jdbcType=VARCHAR},
push_type = #{record.pushType,jdbcType=INTEGER},
miniprogram_insert_flag = #{record.miniprogramInsertFlag,jdbcType=INTEGER},
mini_strategy = #{record.miniStrategy,jdbcType=VARCHAR},
miniprogram_use_type = #{record.miniprogramUseType,jdbcType=INTEGER},
sort_strategy = #{record.sortStrategy,jdbcType=VARCHAR},
exclude_content_index = #{record.excludeContentIndex,jdbcType=VARCHAR},
`status` = #{record.status,jdbcType=INTEGER},
match_status = #{record.matchStatus,jdbcType=INTEGER},
retry_count = #{record.retryCount,jdbcType=INTEGER},
send_count = #{record.sendCount,jdbcType=INTEGER},
publish_open_flag = #{record.publishOpenFlag,jdbcType=INTEGER},
is_delete = #{record.isDelete,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update long_articles_plan_account
plan_id = #{planId,jdbcType=VARCHAR},
plan_name = #{planName,jdbcType=VARCHAR},
account_id = #{accountId,jdbcType=VARCHAR},
account_name = #{accountName,jdbcType=VARCHAR},
gh_id = #{ghId,jdbcType=VARCHAR},
publish_rate = #{publishRate,jdbcType=INTEGER},
publish_date = #{publishDate,jdbcType=VARCHAR},
publish_window_start = #{publishWindowStart,jdbcType=VARCHAR},
publish_window_end = #{publishWindowEnd,jdbcType=VARCHAR},
publish_time_interval = #{publishTimeInterval,jdbcType=INTEGER},
publish_num = #{publishNum,jdbcType=INTEGER},
publish_pre_num = #{publishPreNum,jdbcType=INTEGER},
publish_pre_min_num = #{publishPreMinNum,jdbcType=INTEGER},
publish_push_time = #{publishPushTime,jdbcType=VARCHAR},
push_type = #{pushType,jdbcType=INTEGER},
miniprogram_insert_flag = #{miniprogramInsertFlag,jdbcType=INTEGER},
mini_strategy = #{miniStrategy,jdbcType=VARCHAR},
miniprogram_use_type = #{miniprogramUseType,jdbcType=INTEGER},
sort_strategy = #{sortStrategy,jdbcType=VARCHAR},
exclude_content_index = #{excludeContentIndex,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
match_status = #{matchStatus,jdbcType=INTEGER},
retry_count = #{retryCount,jdbcType=INTEGER},
send_count = #{sendCount,jdbcType=INTEGER},
publish_open_flag = #{publishOpenFlag,jdbcType=INTEGER},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update long_articles_plan_account
set plan_id = #{planId,jdbcType=VARCHAR},
plan_name = #{planName,jdbcType=VARCHAR},
account_id = #{accountId,jdbcType=VARCHAR},
account_name = #{accountName,jdbcType=VARCHAR},
gh_id = #{ghId,jdbcType=VARCHAR},
publish_rate = #{publishRate,jdbcType=INTEGER},
publish_date = #{publishDate,jdbcType=VARCHAR},
publish_window_start = #{publishWindowStart,jdbcType=VARCHAR},
publish_window_end = #{publishWindowEnd,jdbcType=VARCHAR},
publish_time_interval = #{publishTimeInterval,jdbcType=INTEGER},
publish_num = #{publishNum,jdbcType=INTEGER},
publish_pre_num = #{publishPreNum,jdbcType=INTEGER},
publish_pre_min_num = #{publishPreMinNum,jdbcType=INTEGER},
publish_push_time = #{publishPushTime,jdbcType=VARCHAR},
push_type = #{pushType,jdbcType=INTEGER},
miniprogram_insert_flag = #{miniprogramInsertFlag,jdbcType=INTEGER},
mini_strategy = #{miniStrategy,jdbcType=VARCHAR},
miniprogram_use_type = #{miniprogramUseType,jdbcType=INTEGER},
sort_strategy = #{sortStrategy,jdbcType=VARCHAR},
exclude_content_index = #{excludeContentIndex,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
match_status = #{matchStatus,jdbcType=INTEGER},
retry_count = #{retryCount,jdbcType=INTEGER},
send_count = #{sendCount,jdbcType=INTEGER},
publish_open_flag = #{publishOpenFlag,jdbcType=INTEGER},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}