|
@@ -22,6 +22,7 @@
|
|
|
<result column="mini_strategy" jdbcType="VARCHAR" property="miniStrategy" />
|
|
|
<result column="miniprogram_use_type" jdbcType="INTEGER" property="miniprogramUseType" />
|
|
|
<result column="sort_strategy" jdbcType="VARCHAR" property="sortStrategy" />
|
|
|
+ <result column="exclude_content_index" jdbcType="VARCHAR" property="excludeContentIndex" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="match_status" jdbcType="INTEGER" property="matchStatus" />
|
|
|
<result column="retry_count" jdbcType="INTEGER" property="retryCount" />
|
|
@@ -93,8 +94,8 @@
|
|
|
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, `status`, match_status, retry_count, send_count,
|
|
|
- publish_open_flag, is_delete, create_time, update_time
|
|
|
+ miniprogram_use_type, sort_strategy, exclude_content_index, `status`, match_status,
|
|
|
+ retry_count, send_count, publish_open_flag, is_delete, create_time, update_time
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.PlanAccountExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -137,9 +138,10 @@
|
|
|
publish_num, publish_pre_num, publish_pre_min_num,
|
|
|
publish_push_time, push_type, miniprogram_insert_flag,
|
|
|
mini_strategy, miniprogram_use_type, sort_strategy,
|
|
|
- `status`, match_status, retry_count,
|
|
|
- send_count, publish_open_flag, is_delete,
|
|
|
- create_time, update_time)
|
|
|
+ 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},
|
|
@@ -147,9 +149,10 @@
|
|
|
#{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},
|
|
|
- #{status,jdbcType=INTEGER}, #{matchStatus,jdbcType=INTEGER}, #{retryCount,jdbcType=INTEGER},
|
|
|
- #{sendCount,jdbcType=INTEGER}, #{publishOpenFlag,jdbcType=INTEGER}, #{isDelete,jdbcType=INTEGER},
|
|
|
- #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
|
|
|
+ #{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>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.PlanAccount">
|
|
|
insert into long_articles_plan_account
|
|
@@ -214,6 +217,9 @@
|
|
|
<if test="sortStrategy != null">
|
|
|
sort_strategy,
|
|
|
</if>
|
|
|
+ <if test="excludeContentIndex != null">
|
|
|
+ exclude_content_index,
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
`status`,
|
|
|
</if>
|
|
@@ -300,6 +306,9 @@
|
|
|
<if test="sortStrategy != null">
|
|
|
#{sortStrategy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="excludeContentIndex != null">
|
|
|
+ #{excludeContentIndex,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -395,6 +404,9 @@
|
|
|
<if test="record.sortStrategy != null">
|
|
|
sort_strategy = #{record.sortStrategy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.excludeContentIndex != null">
|
|
|
+ exclude_content_index = #{record.excludeContentIndex,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.status != null">
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -446,6 +458,7 @@
|
|
|
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},
|
|
@@ -518,6 +531,9 @@
|
|
|
<if test="sortStrategy != null">
|
|
|
sort_strategy = #{sortStrategy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="excludeContentIndex != null">
|
|
|
+ exclude_content_index = #{excludeContentIndex,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -566,6 +582,7 @@
|
|
|
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},
|