|
@@ -9,6 +9,8 @@
|
|
|
<result column="video" jdbcType="VARCHAR" property="video" />
|
|
|
<result column="audit_status" jdbcType="INTEGER" property="auditStatus" />
|
|
|
<result column="audit_reason" jdbcType="VARCHAR" property="auditReason" />
|
|
|
+ <result column="is_delete" jdbcType="INTEGER" property="isDelete" />
|
|
|
+ <result column="create_account_id" jdbcType="BIGINT" property="createAccountId" />
|
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
|
<result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
|
|
|
</resultMap>
|
|
@@ -71,8 +73,8 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, video_id, title, cover, video, audit_status, audit_reason, create_timestamp,
|
|
|
- update_timestamp
|
|
|
+ id, video_id, title, cover, video, audit_status, audit_reason, is_delete, create_account_id,
|
|
|
+ create_timestamp, update_timestamp
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformUploadVideoExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -110,12 +112,12 @@
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformUploadVideo">
|
|
|
insert into content_platform_upload_video (id, video_id, title,
|
|
|
cover, video, audit_status,
|
|
|
- audit_reason, create_timestamp, update_timestamp
|
|
|
- )
|
|
|
+ audit_reason, is_delete, create_account_id,
|
|
|
+ create_timestamp, update_timestamp)
|
|
|
values (#{id,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR},
|
|
|
#{cover,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR}, #{auditStatus,jdbcType=INTEGER},
|
|
|
- #{auditReason,jdbcType=VARCHAR}, #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT}
|
|
|
- )
|
|
|
+ #{auditReason,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER}, #{createAccountId,jdbcType=BIGINT},
|
|
|
+ #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformUploadVideo">
|
|
|
insert into content_platform_upload_video
|
|
@@ -141,6 +143,12 @@
|
|
|
<if test="auditReason != null">
|
|
|
audit_reason,
|
|
|
</if>
|
|
|
+ <if test="isDelete != null">
|
|
|
+ is_delete,
|
|
|
+ </if>
|
|
|
+ <if test="createAccountId != null">
|
|
|
+ create_account_id,
|
|
|
+ </if>
|
|
|
<if test="createTimestamp != null">
|
|
|
create_timestamp,
|
|
|
</if>
|
|
@@ -170,6 +178,12 @@
|
|
|
<if test="auditReason != null">
|
|
|
#{auditReason,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="isDelete != null">
|
|
|
+ #{isDelete,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="createAccountId != null">
|
|
|
+ #{createAccountId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
<if test="createTimestamp != null">
|
|
|
#{createTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -208,6 +222,12 @@
|
|
|
<if test="record.auditReason != null">
|
|
|
audit_reason = #{record.auditReason,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.isDelete != null">
|
|
|
+ is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.createAccountId != null">
|
|
|
+ create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
<if test="record.createTimestamp != null">
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -228,6 +248,8 @@
|
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
|
audit_status = #{record.auditStatus,jdbcType=INTEGER},
|
|
|
audit_reason = #{record.auditReason,jdbcType=VARCHAR},
|
|
|
+ is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
|
+ create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT}
|
|
|
<if test="_parameter != null">
|
|
@@ -255,6 +277,12 @@
|
|
|
<if test="auditReason != null">
|
|
|
audit_reason = #{auditReason,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="isDelete != null">
|
|
|
+ is_delete = #{isDelete,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="createAccountId != null">
|
|
|
+ create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
<if test="createTimestamp != null">
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -272,6 +300,8 @@
|
|
|
video = #{video,jdbcType=VARCHAR},
|
|
|
audit_status = #{auditStatus,jdbcType=INTEGER},
|
|
|
audit_reason = #{auditReason,jdbcType=VARCHAR},
|
|
|
+ is_delete = #{isDelete,jdbcType=INTEGER},
|
|
|
+ create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT}
|
|
|
where id = #{id,jdbcType=BIGINT}
|