|
|
@@ -7,6 +7,8 @@
|
|
|
<result column="video_id" jdbcType="BIGINT" property="videoId" />
|
|
|
<result column="title" jdbcType="VARCHAR" property="title" />
|
|
|
<result column="business_type" jdbcType="VARCHAR" property="businessType" />
|
|
|
+ <result column="illegal_title" jdbcType="VARCHAR" property="illegalTitle" />
|
|
|
+ <result column="illegal_content" jdbcType="VARCHAR" property="illegalContent" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
|
<result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
|
|
|
@@ -70,7 +72,8 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, account_id, video_id, title, business_type, `status`, create_timestamp, update_timestamp
|
|
|
+ id, account_id, video_id, title, business_type, illegal_title, illegal_content, `status`,
|
|
|
+ create_timestamp, update_timestamp
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformIllegalMsgExample" resultMap="BaseResultMap">
|
|
|
select
|
|
|
@@ -107,11 +110,13 @@
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformIllegalMsg">
|
|
|
insert into content_platform_illegal_msg (id, account_id, video_id,
|
|
|
- title, business_type, `status`,
|
|
|
- create_timestamp, update_timestamp)
|
|
|
+ title, business_type, illegal_title,
|
|
|
+ illegal_content, `status`, create_timestamp,
|
|
|
+ update_timestamp)
|
|
|
values (#{id,jdbcType=BIGINT}, #{accountId,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT},
|
|
|
- #{title,jdbcType=VARCHAR}, #{businessType,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
|
|
|
- #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT})
|
|
|
+ #{title,jdbcType=VARCHAR}, #{businessType,jdbcType=VARCHAR}, #{illegalTitle,jdbcType=VARCHAR},
|
|
|
+ #{illegalContent,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTimestamp,jdbcType=BIGINT},
|
|
|
+ #{updateTimestamp,jdbcType=BIGINT})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformIllegalMsg">
|
|
|
insert into content_platform_illegal_msg
|
|
|
@@ -131,6 +136,12 @@
|
|
|
<if test="businessType != null">
|
|
|
business_type,
|
|
|
</if>
|
|
|
+ <if test="illegalTitle != null">
|
|
|
+ illegal_title,
|
|
|
+ </if>
|
|
|
+ <if test="illegalContent != null">
|
|
|
+ illegal_content,
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
`status`,
|
|
|
</if>
|
|
|
@@ -157,6 +168,12 @@
|
|
|
<if test="businessType != null">
|
|
|
#{businessType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="illegalTitle != null">
|
|
|
+ #{illegalTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="illegalContent != null">
|
|
|
+ #{illegalContent,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -192,6 +209,12 @@
|
|
|
<if test="record.businessType != null">
|
|
|
business_type = #{record.businessType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.illegalTitle != null">
|
|
|
+ illegal_title = #{record.illegalTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.illegalContent != null">
|
|
|
+ illegal_content = #{record.illegalContent,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.status != null">
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -213,6 +236,8 @@
|
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
|
title = #{record.title,jdbcType=VARCHAR},
|
|
|
business_type = #{record.businessType,jdbcType=VARCHAR},
|
|
|
+ illegal_title = #{record.illegalTitle,jdbcType=VARCHAR},
|
|
|
+ illegal_content = #{record.illegalContent,jdbcType=VARCHAR},
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT}
|
|
|
@@ -235,6 +260,12 @@
|
|
|
<if test="businessType != null">
|
|
|
business_type = #{businessType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="illegalTitle != null">
|
|
|
+ illegal_title = #{illegalTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="illegalContent != null">
|
|
|
+ illegal_content = #{illegalContent,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -253,6 +284,8 @@
|
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
|
title = #{title,jdbcType=VARCHAR},
|
|
|
business_type = #{businessType,jdbcType=VARCHAR},
|
|
|
+ illegal_title = #{illegalTitle,jdbcType=VARCHAR},
|
|
|
+ illegal_content = #{illegalContent,jdbcType=VARCHAR},
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT}
|