|
@@ -12,6 +12,8 @@
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
+ <result column="recycle_status" jdbcType="INTEGER" property="recycleStatus" />
|
|
|
+ <result column="trace_id" jdbcType="VARCHAR" property="traceId" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tzld.piaoquan.longarticle.model.po.longarticle.GroupSendResult">
|
|
|
<result column="url" jdbcType="LONGVARCHAR" property="url" />
|
|
@@ -76,7 +78,7 @@
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, account_name, gh_id, publish_date, user_group_id, content_id, push_id, `status`,
|
|
|
- create_time, update_time
|
|
|
+ create_time, update_time, recycle_status, trace_id
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
url
|
|
@@ -139,11 +141,13 @@
|
|
|
insert into long_articles_group_send_result (id, account_name, gh_id,
|
|
|
publish_date, user_group_id, content_id,
|
|
|
push_id, `status`, create_time,
|
|
|
- update_time, url)
|
|
|
+ update_time, recycle_status, trace_id,
|
|
|
+ url)
|
|
|
values (#{id,jdbcType=BIGINT}, #{accountName,jdbcType=VARCHAR}, #{ghId,jdbcType=VARCHAR},
|
|
|
#{publishDate,jdbcType=VARCHAR}, #{userGroupId,jdbcType=INTEGER}, #{contentId,jdbcType=VARCHAR},
|
|
|
#{pushId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
- #{updateTime,jdbcType=TIMESTAMP}, #{url,jdbcType=LONGVARCHAR})
|
|
|
+ #{updateTime,jdbcType=TIMESTAMP}, #{recycleStatus,jdbcType=INTEGER}, #{traceId,jdbcType=VARCHAR},
|
|
|
+ #{url,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.GroupSendResult">
|
|
|
insert into long_articles_group_send_result
|
|
@@ -178,6 +182,12 @@
|
|
|
<if test="updateTime != null">
|
|
|
update_time,
|
|
|
</if>
|
|
|
+ <if test="recycleStatus != null">
|
|
|
+ recycle_status,
|
|
|
+ </if>
|
|
|
+ <if test="traceId != null">
|
|
|
+ trace_id,
|
|
|
+ </if>
|
|
|
<if test="url != null">
|
|
|
url,
|
|
|
</if>
|
|
@@ -213,6 +223,12 @@
|
|
|
<if test="updateTime != null">
|
|
|
#{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="recycleStatus != null">
|
|
|
+ #{recycleStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="traceId != null">
|
|
|
+ #{traceId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="url != null">
|
|
|
#{url,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -257,6 +273,12 @@
|
|
|
<if test="record.updateTime != null">
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="record.recycleStatus != null">
|
|
|
+ recycle_status = #{record.recycleStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.traceId != null">
|
|
|
+ trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.url != null">
|
|
|
url = #{record.url,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -277,6 +299,8 @@
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
+ recycle_status = #{record.recycleStatus,jdbcType=INTEGER},
|
|
|
+ trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
|
url = #{record.url,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -293,7 +317,9 @@
|
|
|
push_id = #{record.pushId,jdbcType=VARCHAR},
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
- update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
|
+ update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
+ recycle_status = #{record.recycleStatus,jdbcType=INTEGER},
|
|
|
+ trace_id = #{record.traceId,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -328,6 +354,12 @@
|
|
|
<if test="updateTime != null">
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="recycleStatus != null">
|
|
|
+ recycle_status = #{recycleStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="traceId != null">
|
|
|
+ trace_id = #{traceId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="url != null">
|
|
|
url = #{url,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -345,6 +377,8 @@
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ recycle_status = #{recycleStatus,jdbcType=INTEGER},
|
|
|
+ trace_id = #{traceId,jdbcType=VARCHAR},
|
|
|
url = #{url,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
@@ -358,7 +392,9 @@
|
|
|
push_id = #{pushId,jdbcType=VARCHAR},
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
- update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
|
+ update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ recycle_status = #{recycleStatus,jdbcType=INTEGER},
|
|
|
+ trace_id = #{traceId,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
</mapper>
|