|
@@ -25,6 +25,7 @@
|
|
|
<result column="audit_status" jdbcType="INTEGER" property="auditStatus" />
|
|
|
<result column="audit_video_id" jdbcType="BIGINT" property="auditVideoId" />
|
|
|
<result column="audit_timestamp" jdbcType="BIGINT" property="auditTimestamp" />
|
|
|
+ <result column="mini_program_title" jdbcType="VARCHAR" property="miniProgramTitle" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
@@ -89,7 +90,7 @@
|
|
|
like_cnt, article_index, article_publish_type, article_url, cover_url, video_oss_path,
|
|
|
flow_pool_level, bad_status, publish_timestamp, crawler_timestamp, url_unique_md5,
|
|
|
up_level_timestamp, exit_timestamp, source_account, audit_status, audit_video_id,
|
|
|
- audit_timestamp
|
|
|
+ audit_timestamp, mini_program_title
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.SingleVideoSourceExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -132,7 +133,8 @@
|
|
|
flow_pool_level, bad_status, publish_timestamp,
|
|
|
crawler_timestamp, url_unique_md5, up_level_timestamp,
|
|
|
exit_timestamp, source_account, audit_status,
|
|
|
- audit_video_id, audit_timestamp)
|
|
|
+ audit_video_id, audit_timestamp, mini_program_title
|
|
|
+ )
|
|
|
values (#{id,jdbcType=INTEGER}, #{contentTraceId,jdbcType=VARCHAR}, #{articleTitle,jdbcType=VARCHAR},
|
|
|
#{outAccountId,jdbcType=VARCHAR}, #{outAccountName,jdbcType=VARCHAR}, #{readCnt,jdbcType=INTEGER},
|
|
|
#{likeCnt,jdbcType=INTEGER}, #{articleIndex,jdbcType=BIT}, #{articlePublishType,jdbcType=VARCHAR},
|
|
@@ -140,7 +142,8 @@
|
|
|
#{flowPoolLevel,jdbcType=INTEGER}, #{badStatus,jdbcType=BIT}, #{publishTimestamp,jdbcType=BIGINT},
|
|
|
#{crawlerTimestamp,jdbcType=BIGINT}, #{urlUniqueMd5,jdbcType=VARCHAR}, #{upLevelTimestamp,jdbcType=BIGINT},
|
|
|
#{exitTimestamp,jdbcType=BIGINT}, #{sourceAccount,jdbcType=INTEGER}, #{auditStatus,jdbcType=INTEGER},
|
|
|
- #{auditVideoId,jdbcType=BIGINT}, #{auditTimestamp,jdbcType=BIGINT})
|
|
|
+ #{auditVideoId,jdbcType=BIGINT}, #{auditTimestamp,jdbcType=BIGINT}, #{miniProgramTitle,jdbcType=VARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.SingleVideoSource">
|
|
|
insert into publish_single_video_source
|
|
@@ -214,6 +217,9 @@
|
|
|
<if test="auditTimestamp != null">
|
|
|
audit_timestamp,
|
|
|
</if>
|
|
|
+ <if test="miniProgramTitle != null">
|
|
|
+ mini_program_title,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
@@ -285,6 +291,9 @@
|
|
|
<if test="auditTimestamp != null">
|
|
|
#{auditTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
+ <if test="miniProgramTitle != null">
|
|
|
+ #{miniProgramTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.SingleVideoSourceExample" resultType="java.lang.Long">
|
|
@@ -365,6 +374,9 @@
|
|
|
<if test="record.auditTimestamp != null">
|
|
|
audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
+ <if test="record.miniProgramTitle != null">
|
|
|
+ mini_program_title = #{record.miniProgramTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -394,7 +406,8 @@
|
|
|
source_account = #{record.sourceAccount,jdbcType=INTEGER},
|
|
|
audit_status = #{record.auditStatus,jdbcType=INTEGER},
|
|
|
audit_video_id = #{record.auditVideoId,jdbcType=BIGINT},
|
|
|
- audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT}
|
|
|
+ audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT},
|
|
|
+ mini_program_title = #{record.miniProgramTitle,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -468,6 +481,9 @@
|
|
|
<if test="auditTimestamp != null">
|
|
|
audit_timestamp = #{auditTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
+ <if test="miniProgramTitle != null">
|
|
|
+ mini_program_title = #{miniProgramTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
@@ -494,7 +510,8 @@
|
|
|
source_account = #{sourceAccount,jdbcType=INTEGER},
|
|
|
audit_status = #{auditStatus,jdbcType=INTEGER},
|
|
|
audit_video_id = #{auditVideoId,jdbcType=BIGINT},
|
|
|
- audit_timestamp = #{auditTimestamp,jdbcType=BIGINT}
|
|
|
+ audit_timestamp = #{auditTimestamp,jdbcType=BIGINT},
|
|
|
+ mini_program_title = #{miniProgramTitle,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
</mapper>
|