|
@@ -19,6 +19,11 @@
|
|
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
|
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
|
<result column="trace_id" jdbcType="VARCHAR" property="traceId" />
|
|
<result column="trace_id" jdbcType="VARCHAR" property="traceId" />
|
|
<result column="score" jdbcType="REAL" property="score" />
|
|
<result column="score" jdbcType="REAL" property="score" />
|
|
|
|
+ <result column="is_illegal" jdbcType="INTEGER" property="isIllegal" />
|
|
|
|
+ <result column="status" jdbcType="INTEGER" property="status" />
|
|
|
|
+ <result column="audit_account" jdbcType="VARCHAR" property="auditAccount" />
|
|
|
|
+ <result column="audit_timestamp" jdbcType="BIGINT" property="auditTimestamp" />
|
|
|
|
+ <result column="score_version" jdbcType="TINYINT" property="scoreVersion" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tzld.piaoquan.longarticle.model.po.CrawlerVideo">
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tzld.piaoquan.longarticle.model.po.CrawlerVideo">
|
|
<result column="video_url" jdbcType="LONGVARCHAR" property="videoUrl" />
|
|
<result column="video_url" jdbcType="LONGVARCHAR" property="videoUrl" />
|
|
@@ -85,7 +90,7 @@
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
id, content_id, out_video_id, platform, video_title, play_count, like_count, share_count,
|
|
id, content_id, out_video_id, platform, video_title, play_count, like_count, share_count,
|
|
publish_time, crawler_time, duration, download_status, video_oss_path, cover_oss_path,
|
|
publish_time, crawler_time, duration, download_status, video_oss_path, cover_oss_path,
|
|
- user_id, trace_id, score
|
|
|
|
|
|
+ user_id, trace_id, score, is_illegal, `status`, audit_account, audit_timestamp, score_version
|
|
</sql>
|
|
</sql>
|
|
<sql id="Blob_Column_List">
|
|
<sql id="Blob_Column_List">
|
|
video_url, cover_url
|
|
video_url, cover_url
|
|
@@ -150,15 +155,19 @@
|
|
like_count, share_count, publish_time,
|
|
like_count, share_count, publish_time,
|
|
crawler_time, duration, download_status,
|
|
crawler_time, duration, download_status,
|
|
video_oss_path, cover_oss_path, user_id,
|
|
video_oss_path, cover_oss_path, user_id,
|
|
- trace_id, score, video_url,
|
|
|
|
- cover_url)
|
|
|
|
|
|
+ trace_id, score, is_illegal,
|
|
|
|
+ `status`, audit_account, audit_timestamp,
|
|
|
|
+ score_version, video_url, cover_url
|
|
|
|
+ )
|
|
values (#{id,jdbcType=INTEGER}, #{contentId,jdbcType=VARCHAR}, #{outVideoId,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=INTEGER}, #{contentId,jdbcType=VARCHAR}, #{outVideoId,jdbcType=VARCHAR},
|
|
#{platform,jdbcType=VARCHAR}, #{videoTitle,jdbcType=VARCHAR}, #{playCount,jdbcType=INTEGER},
|
|
#{platform,jdbcType=VARCHAR}, #{videoTitle,jdbcType=VARCHAR}, #{playCount,jdbcType=INTEGER},
|
|
#{likeCount,jdbcType=INTEGER}, #{shareCount,jdbcType=INTEGER}, #{publishTime,jdbcType=TIMESTAMP},
|
|
#{likeCount,jdbcType=INTEGER}, #{shareCount,jdbcType=INTEGER}, #{publishTime,jdbcType=TIMESTAMP},
|
|
#{crawlerTime,jdbcType=TIMESTAMP}, #{duration,jdbcType=INTEGER}, #{downloadStatus,jdbcType=INTEGER},
|
|
#{crawlerTime,jdbcType=TIMESTAMP}, #{duration,jdbcType=INTEGER}, #{downloadStatus,jdbcType=INTEGER},
|
|
#{videoOssPath,jdbcType=VARCHAR}, #{coverOssPath,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR},
|
|
#{videoOssPath,jdbcType=VARCHAR}, #{coverOssPath,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR},
|
|
- #{traceId,jdbcType=VARCHAR}, #{score,jdbcType=REAL}, #{videoUrl,jdbcType=LONGVARCHAR},
|
|
|
|
- #{coverUrl,jdbcType=LONGVARCHAR})
|
|
|
|
|
|
+ #{traceId,jdbcType=VARCHAR}, #{score,jdbcType=REAL}, #{isIllegal,jdbcType=INTEGER},
|
|
|
|
+ #{status,jdbcType=INTEGER}, #{auditAccount,jdbcType=VARCHAR}, #{auditTimestamp,jdbcType=BIGINT},
|
|
|
|
+ #{scoreVersion,jdbcType=TINYINT}, #{videoUrl,jdbcType=LONGVARCHAR}, #{coverUrl,jdbcType=LONGVARCHAR}
|
|
|
|
+ )
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.CrawlerVideo">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.CrawlerVideo">
|
|
insert into long_articles_crawler_videos
|
|
insert into long_articles_crawler_videos
|
|
@@ -214,6 +223,21 @@
|
|
<if test="score != null">
|
|
<if test="score != null">
|
|
score,
|
|
score,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isIllegal != null">
|
|
|
|
+ is_illegal,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="status != null">
|
|
|
|
+ `status`,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="auditAccount != null">
|
|
|
|
+ audit_account,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="auditTimestamp != null">
|
|
|
|
+ audit_timestamp,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="scoreVersion != null">
|
|
|
|
+ score_version,
|
|
|
|
+ </if>
|
|
<if test="videoUrl != null">
|
|
<if test="videoUrl != null">
|
|
video_url,
|
|
video_url,
|
|
</if>
|
|
</if>
|
|
@@ -273,6 +297,21 @@
|
|
<if test="score != null">
|
|
<if test="score != null">
|
|
#{score,jdbcType=REAL},
|
|
#{score,jdbcType=REAL},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isIllegal != null">
|
|
|
|
+ #{isIllegal,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="status != null">
|
|
|
|
+ #{status,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="auditAccount != null">
|
|
|
|
+ #{auditAccount,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="auditTimestamp != null">
|
|
|
|
+ #{auditTimestamp,jdbcType=BIGINT},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="scoreVersion != null">
|
|
|
|
+ #{scoreVersion,jdbcType=TINYINT},
|
|
|
|
+ </if>
|
|
<if test="videoUrl != null">
|
|
<if test="videoUrl != null">
|
|
#{videoUrl,jdbcType=LONGVARCHAR},
|
|
#{videoUrl,jdbcType=LONGVARCHAR},
|
|
</if>
|
|
</if>
|
|
@@ -341,6 +380,21 @@
|
|
<if test="record.score != null">
|
|
<if test="record.score != null">
|
|
score = #{record.score,jdbcType=REAL},
|
|
score = #{record.score,jdbcType=REAL},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="record.isIllegal != null">
|
|
|
|
+ is_illegal = #{record.isIllegal,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.status != null">
|
|
|
|
+ `status` = #{record.status,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.auditAccount != null">
|
|
|
|
+ audit_account = #{record.auditAccount,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.auditTimestamp != null">
|
|
|
|
+ audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.scoreVersion != null">
|
|
|
|
+ score_version = #{record.scoreVersion,jdbcType=TINYINT},
|
|
|
|
+ </if>
|
|
<if test="record.videoUrl != null">
|
|
<if test="record.videoUrl != null">
|
|
video_url = #{record.videoUrl,jdbcType=LONGVARCHAR},
|
|
video_url = #{record.videoUrl,jdbcType=LONGVARCHAR},
|
|
</if>
|
|
</if>
|
|
@@ -371,6 +425,11 @@
|
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
|
trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
score = #{record.score,jdbcType=REAL},
|
|
score = #{record.score,jdbcType=REAL},
|
|
|
|
+ is_illegal = #{record.isIllegal,jdbcType=INTEGER},
|
|
|
|
+ `status` = #{record.status,jdbcType=INTEGER},
|
|
|
|
+ audit_account = #{record.auditAccount,jdbcType=VARCHAR},
|
|
|
|
+ audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT},
|
|
|
|
+ score_version = #{record.scoreVersion,jdbcType=TINYINT},
|
|
video_url = #{record.videoUrl,jdbcType=LONGVARCHAR},
|
|
video_url = #{record.videoUrl,jdbcType=LONGVARCHAR},
|
|
cover_url = #{record.coverUrl,jdbcType=LONGVARCHAR}
|
|
cover_url = #{record.coverUrl,jdbcType=LONGVARCHAR}
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
@@ -395,7 +454,12 @@
|
|
cover_oss_path = #{record.coverOssPath,jdbcType=VARCHAR},
|
|
cover_oss_path = #{record.coverOssPath,jdbcType=VARCHAR},
|
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
|
trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
- score = #{record.score,jdbcType=REAL}
|
|
|
|
|
|
+ score = #{record.score,jdbcType=REAL},
|
|
|
|
+ is_illegal = #{record.isIllegal,jdbcType=INTEGER},
|
|
|
|
+ `status` = #{record.status,jdbcType=INTEGER},
|
|
|
|
+ audit_account = #{record.auditAccount,jdbcType=VARCHAR},
|
|
|
|
+ audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT},
|
|
|
|
+ score_version = #{record.scoreVersion,jdbcType=TINYINT}
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -451,6 +515,21 @@
|
|
<if test="score != null">
|
|
<if test="score != null">
|
|
score = #{score,jdbcType=REAL},
|
|
score = #{score,jdbcType=REAL},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isIllegal != null">
|
|
|
|
+ is_illegal = #{isIllegal,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="status != null">
|
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="auditAccount != null">
|
|
|
|
+ audit_account = #{auditAccount,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="auditTimestamp != null">
|
|
|
|
+ audit_timestamp = #{auditTimestamp,jdbcType=BIGINT},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="scoreVersion != null">
|
|
|
|
+ score_version = #{scoreVersion,jdbcType=TINYINT},
|
|
|
|
+ </if>
|
|
<if test="videoUrl != null">
|
|
<if test="videoUrl != null">
|
|
video_url = #{videoUrl,jdbcType=LONGVARCHAR},
|
|
video_url = #{videoUrl,jdbcType=LONGVARCHAR},
|
|
</if>
|
|
</if>
|
|
@@ -478,6 +557,11 @@
|
|
user_id = #{userId,jdbcType=VARCHAR},
|
|
user_id = #{userId,jdbcType=VARCHAR},
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
score = #{score,jdbcType=REAL},
|
|
score = #{score,jdbcType=REAL},
|
|
|
|
+ is_illegal = #{isIllegal,jdbcType=INTEGER},
|
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
|
+ audit_account = #{auditAccount,jdbcType=VARCHAR},
|
|
|
|
+ audit_timestamp = #{auditTimestamp,jdbcType=BIGINT},
|
|
|
|
+ score_version = #{scoreVersion,jdbcType=TINYINT},
|
|
video_url = #{videoUrl,jdbcType=LONGVARCHAR},
|
|
video_url = #{videoUrl,jdbcType=LONGVARCHAR},
|
|
cover_url = #{coverUrl,jdbcType=LONGVARCHAR}
|
|
cover_url = #{coverUrl,jdbcType=LONGVARCHAR}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
@@ -499,7 +583,12 @@
|
|
cover_oss_path = #{coverOssPath,jdbcType=VARCHAR},
|
|
cover_oss_path = #{coverOssPath,jdbcType=VARCHAR},
|
|
user_id = #{userId,jdbcType=VARCHAR},
|
|
user_id = #{userId,jdbcType=VARCHAR},
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
- score = #{score,jdbcType=REAL}
|
|
|
|
|
|
+ score = #{score,jdbcType=REAL},
|
|
|
|
+ is_illegal = #{isIllegal,jdbcType=INTEGER},
|
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
|
+ audit_account = #{auditAccount,jdbcType=VARCHAR},
|
|
|
|
+ audit_timestamp = #{auditTimestamp,jdbcType=BIGINT},
|
|
|
|
+ score_version = #{scoreVersion,jdbcType=TINYINT}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
</update>
|
|
</update>
|
|
</mapper>
|
|
</mapper>
|