|
@@ -14,6 +14,7 @@
|
|
|
<result column="request_timestamp" jdbcType="INTEGER" property="requestTimestamp" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
<result column="process_times" jdbcType="INTEGER" property="processTimes" />
|
|
|
+ <result column="publish_flag" jdbcType="INTEGER" property="publishFlag" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tzld.piaoquan.longarticle.model.po.MatchVideo">
|
|
|
<result column="response" jdbcType="LONGVARCHAR" property="response" />
|
|
@@ -78,7 +79,7 @@
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, trace_id, content_id, flow_pool_level, gh_id, account_name, content_status, content_status_update_time,
|
|
|
- success_status, request_timestamp, update_time, process_times
|
|
|
+ success_status, request_timestamp, update_time, process_times, publish_flag
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
response
|
|
@@ -142,12 +143,14 @@
|
|
|
flow_pool_level, gh_id, account_name,
|
|
|
content_status, content_status_update_time,
|
|
|
success_status, request_timestamp, update_time,
|
|
|
- process_times, response)
|
|
|
+ process_times, publish_flag, response
|
|
|
+ )
|
|
|
values (#{id,jdbcType=INTEGER}, #{traceId,jdbcType=VARCHAR}, #{contentId,jdbcType=VARCHAR},
|
|
|
#{flowPoolLevel,jdbcType=VARCHAR}, #{ghId,jdbcType=VARCHAR}, #{accountName,jdbcType=VARCHAR},
|
|
|
#{contentStatus,jdbcType=INTEGER}, #{contentStatusUpdateTime,jdbcType=INTEGER},
|
|
|
#{successStatus,jdbcType=INTEGER}, #{requestTimestamp,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- #{processTimes,jdbcType=INTEGER}, #{response,jdbcType=LONGVARCHAR})
|
|
|
+ #{processTimes,jdbcType=INTEGER}, #{publishFlag,jdbcType=INTEGER}, #{response,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.MatchVideo">
|
|
|
insert into long_articles_match_videos
|
|
@@ -188,6 +191,9 @@
|
|
|
<if test="processTimes != null">
|
|
|
process_times,
|
|
|
</if>
|
|
|
+ <if test="publishFlag != null">
|
|
|
+ publish_flag,
|
|
|
+ </if>
|
|
|
<if test="response != null">
|
|
|
response,
|
|
|
</if>
|
|
@@ -229,6 +235,9 @@
|
|
|
<if test="processTimes != null">
|
|
|
#{processTimes,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="publishFlag != null">
|
|
|
+ #{publishFlag,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="response != null">
|
|
|
#{response,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -279,6 +288,9 @@
|
|
|
<if test="record.processTimes != null">
|
|
|
process_times = #{record.processTimes,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.publishFlag != null">
|
|
|
+ publish_flag = #{record.publishFlag,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.response != null">
|
|
|
response = #{record.response,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -301,6 +313,7 @@
|
|
|
request_timestamp = #{record.requestTimestamp,jdbcType=INTEGER},
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
process_times = #{record.processTimes,jdbcType=INTEGER},
|
|
|
+ publish_flag = #{record.publishFlag,jdbcType=INTEGER},
|
|
|
response = #{record.response,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -319,7 +332,8 @@
|
|
|
success_status = #{record.successStatus,jdbcType=INTEGER},
|
|
|
request_timestamp = #{record.requestTimestamp,jdbcType=INTEGER},
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
- process_times = #{record.processTimes,jdbcType=INTEGER}
|
|
|
+ process_times = #{record.processTimes,jdbcType=INTEGER},
|
|
|
+ publish_flag = #{record.publishFlag,jdbcType=INTEGER}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -360,6 +374,9 @@
|
|
|
<if test="processTimes != null">
|
|
|
process_times = #{processTimes,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="publishFlag != null">
|
|
|
+ publish_flag = #{publishFlag,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="response != null">
|
|
|
response = #{response,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -379,6 +396,7 @@
|
|
|
request_timestamp = #{requestTimestamp,jdbcType=INTEGER},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
process_times = #{processTimes,jdbcType=INTEGER},
|
|
|
+ publish_flag = #{publishFlag,jdbcType=INTEGER},
|
|
|
response = #{response,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
@@ -394,7 +412,8 @@
|
|
|
success_status = #{successStatus,jdbcType=INTEGER},
|
|
|
request_timestamp = #{requestTimestamp,jdbcType=INTEGER},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- process_times = #{processTimes,jdbcType=INTEGER}
|
|
|
+ process_times = #{processTimes,jdbcType=INTEGER},
|
|
|
+ publish_flag = #{publishFlag,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
</mapper>
|