|
@@ -26,6 +26,7 @@
|
|
|
<result column="match_status" jdbcType="INTEGER" property="matchStatus" />
|
|
|
<result column="retry_count" jdbcType="INTEGER" property="retryCount" />
|
|
|
<result column="send_count" jdbcType="INTEGER" property="sendCount" />
|
|
|
+ <result column="publish_open_flag" jdbcType="INTEGER" property="publishOpenFlag" />
|
|
|
<result column="is_delete" jdbcType="INTEGER" property="isDelete" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
@@ -93,7 +94,7 @@
|
|
|
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,
|
|
|
- is_delete, create_time, update_time
|
|
|
+ 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,8 +138,8 @@
|
|
|
publish_push_time, push_type, miniprogram_insert_flag,
|
|
|
mini_strategy, miniprogram_use_type, sort_strategy,
|
|
|
`status`, match_status, retry_count,
|
|
|
- send_count, is_delete, create_time,
|
|
|
- update_time)
|
|
|
+ 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,8 +148,8 @@
|
|
|
#{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}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
- #{updateTime,jdbcType=TIMESTAMP})
|
|
|
+ #{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
|
|
@@ -225,6 +226,9 @@
|
|
|
<if test="sendCount != null">
|
|
|
send_count,
|
|
|
</if>
|
|
|
+ <if test="publishOpenFlag != null">
|
|
|
+ publish_open_flag,
|
|
|
+ </if>
|
|
|
<if test="isDelete != null">
|
|
|
is_delete,
|
|
|
</if>
|
|
@@ -308,6 +312,9 @@
|
|
|
<if test="sendCount != null">
|
|
|
#{sendCount,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="publishOpenFlag != null">
|
|
|
+ #{publishOpenFlag,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="isDelete != null">
|
|
|
#{isDelete,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -400,6 +407,9 @@
|
|
|
<if test="record.sendCount != null">
|
|
|
send_count = #{record.sendCount,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.publishOpenFlag != null">
|
|
|
+ publish_open_flag = #{record.publishOpenFlag,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.isDelete != null">
|
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -440,6 +450,7 @@
|
|
|
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}
|
|
@@ -519,6 +530,9 @@
|
|
|
<if test="sendCount != null">
|
|
|
send_count = #{sendCount,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="publishOpenFlag != null">
|
|
|
+ publish_open_flag = #{publishOpenFlag,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="isDelete != null">
|
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -556,6 +570,7 @@
|
|
|
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}
|