|
@@ -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="is_delete" jdbcType="INTEGER" property="isDelete" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
</resultMap>
|
|
@@ -92,7 +93,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,
|
|
|
- create_time, update_time
|
|
|
+ is_delete, create_time, update_time
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.PlanAccountExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -136,8 +137,8 @@
|
|
|
publish_push_time, push_type, miniprogram_insert_flag,
|
|
|
mini_strategy, miniprogram_use_type, sort_strategy,
|
|
|
`status`, match_status, retry_count,
|
|
|
- send_count, create_time, update_time
|
|
|
- )
|
|
|
+ send_count, 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},
|
|
@@ -146,8 +147,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}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
|
|
|
- )
|
|
|
+ #{sendCount,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
|
|
@@ -224,6 +225,9 @@
|
|
|
<if test="sendCount != null">
|
|
|
send_count,
|
|
|
</if>
|
|
|
+ <if test="isDelete != null">
|
|
|
+ is_delete,
|
|
|
+ </if>
|
|
|
<if test="createTime != null">
|
|
|
create_time,
|
|
|
</if>
|
|
@@ -304,6 +308,9 @@
|
|
|
<if test="sendCount != null">
|
|
|
#{sendCount,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="isDelete != null">
|
|
|
+ #{isDelete,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="createTime != null">
|
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
@@ -393,6 +400,9 @@
|
|
|
<if test="record.sendCount != null">
|
|
|
send_count = #{record.sendCount,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.isDelete != null">
|
|
|
+ is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.createTime != null">
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
@@ -430,6 +440,7 @@
|
|
|
match_status = #{record.matchStatus,jdbcType=INTEGER},
|
|
|
retry_count = #{record.retryCount,jdbcType=INTEGER},
|
|
|
send_count = #{record.sendCount,jdbcType=INTEGER},
|
|
|
+ is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
|
<if test="_parameter != null">
|
|
@@ -508,6 +519,9 @@
|
|
|
<if test="sendCount != null">
|
|
|
send_count = #{sendCount,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="isDelete != null">
|
|
|
+ is_delete = #{isDelete,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="createTime != null">
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
@@ -542,6 +556,7 @@
|
|
|
match_status = #{matchStatus,jdbcType=INTEGER},
|
|
|
retry_count = #{retryCount,jdbcType=INTEGER},
|
|
|
send_count = #{sendCount,jdbcType=INTEGER},
|
|
|
+ is_delete = #{isDelete,jdbcType=INTEGER},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
|
where id = #{id,jdbcType=BIGINT}
|