|
@@ -9,6 +9,7 @@
|
|
<result column="video" jdbcType="VARCHAR" property="video" />
|
|
<result column="video" jdbcType="VARCHAR" property="video" />
|
|
<result column="audit_status" jdbcType="INTEGER" property="auditStatus" />
|
|
<result column="audit_status" jdbcType="INTEGER" property="auditStatus" />
|
|
<result column="audit_reason" jdbcType="VARCHAR" property="auditReason" />
|
|
<result column="audit_reason" jdbcType="VARCHAR" property="auditReason" />
|
|
|
|
+ <result column="score" jdbcType="DOUBLE" property="score" />
|
|
<result column="is_delete" jdbcType="INTEGER" property="isDelete" />
|
|
<result column="is_delete" jdbcType="INTEGER" property="isDelete" />
|
|
<result column="create_account_id" jdbcType="BIGINT" property="createAccountId" />
|
|
<result column="create_account_id" jdbcType="BIGINT" property="createAccountId" />
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
@@ -73,8 +74,8 @@
|
|
</where>
|
|
</where>
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
- id, video_id, title, cover, video, audit_status, audit_reason, is_delete, create_account_id,
|
|
|
|
- create_timestamp, update_timestamp
|
|
|
|
|
|
+ id, video_id, title, cover, video, audit_status, audit_reason, score, is_delete,
|
|
|
|
+ create_account_id, create_timestamp, update_timestamp
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformUploadVideoExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformUploadVideoExample" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
@@ -112,12 +113,14 @@
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformUploadVideo">
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformUploadVideo">
|
|
insert into content_platform_upload_video (id, video_id, title,
|
|
insert into content_platform_upload_video (id, video_id, title,
|
|
cover, video, audit_status,
|
|
cover, video, audit_status,
|
|
- audit_reason, is_delete, create_account_id,
|
|
|
|
- create_timestamp, update_timestamp)
|
|
|
|
|
|
+ audit_reason, score, is_delete,
|
|
|
|
+ create_account_id, create_timestamp, update_timestamp
|
|
|
|
+ )
|
|
values (#{id,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR},
|
|
#{cover,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR}, #{auditStatus,jdbcType=INTEGER},
|
|
#{cover,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR}, #{auditStatus,jdbcType=INTEGER},
|
|
- #{auditReason,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER}, #{createAccountId,jdbcType=BIGINT},
|
|
|
|
- #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT})
|
|
|
|
|
|
+ #{auditReason,jdbcType=VARCHAR}, #{score,jdbcType=DOUBLE}, #{isDelete,jdbcType=INTEGER},
|
|
|
|
+ #{createAccountId,jdbcType=BIGINT}, #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT}
|
|
|
|
+ )
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformUploadVideo">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformUploadVideo">
|
|
insert into content_platform_upload_video
|
|
insert into content_platform_upload_video
|
|
@@ -143,6 +146,9 @@
|
|
<if test="auditReason != null">
|
|
<if test="auditReason != null">
|
|
audit_reason,
|
|
audit_reason,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="score != null">
|
|
|
|
+ score,
|
|
|
|
+ </if>
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
is_delete,
|
|
is_delete,
|
|
</if>
|
|
</if>
|
|
@@ -178,6 +184,9 @@
|
|
<if test="auditReason != null">
|
|
<if test="auditReason != null">
|
|
#{auditReason,jdbcType=VARCHAR},
|
|
#{auditReason,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="score != null">
|
|
|
|
+ #{score,jdbcType=DOUBLE},
|
|
|
|
+ </if>
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
#{isDelete,jdbcType=INTEGER},
|
|
#{isDelete,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -222,6 +231,9 @@
|
|
<if test="record.auditReason != null">
|
|
<if test="record.auditReason != null">
|
|
audit_reason = #{record.auditReason,jdbcType=VARCHAR},
|
|
audit_reason = #{record.auditReason,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="record.score != null">
|
|
|
|
+ score = #{record.score,jdbcType=DOUBLE},
|
|
|
|
+ </if>
|
|
<if test="record.isDelete != null">
|
|
<if test="record.isDelete != null">
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -248,6 +260,7 @@
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
audit_status = #{record.auditStatus,jdbcType=INTEGER},
|
|
audit_status = #{record.auditStatus,jdbcType=INTEGER},
|
|
audit_reason = #{record.auditReason,jdbcType=VARCHAR},
|
|
audit_reason = #{record.auditReason,jdbcType=VARCHAR},
|
|
|
|
+ score = #{record.score,jdbcType=DOUBLE},
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
@@ -277,6 +290,9 @@
|
|
<if test="auditReason != null">
|
|
<if test="auditReason != null">
|
|
audit_reason = #{auditReason,jdbcType=VARCHAR},
|
|
audit_reason = #{auditReason,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="score != null">
|
|
|
|
+ score = #{score,jdbcType=DOUBLE},
|
|
|
|
+ </if>
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -300,6 +316,7 @@
|
|
video = #{video,jdbcType=VARCHAR},
|
|
video = #{video,jdbcType=VARCHAR},
|
|
audit_status = #{auditStatus,jdbcType=INTEGER},
|
|
audit_status = #{auditStatus,jdbcType=INTEGER},
|
|
audit_reason = #{auditReason,jdbcType=VARCHAR},
|
|
audit_reason = #{auditReason,jdbcType=VARCHAR},
|
|
|
|
+ score = #{score,jdbcType=DOUBLE},
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|