|
|
@@ -10,6 +10,8 @@
|
|
|
<result column="cover" jdbcType="VARCHAR" property="cover" />
|
|
|
<result column="video" jdbcType="VARCHAR" property="video" />
|
|
|
<result column="score" jdbcType="DOUBLE" property="score" />
|
|
|
+ <result column="rovn" jdbcType="DOUBLE" property="rovn" />
|
|
|
+ <result column="exposure" jdbcType="BIGINT" property="exposure" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
|
<result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
|
|
|
@@ -73,7 +75,7 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, dt, video_id, category, title, cover, video, score, `status`, create_timestamp,
|
|
|
+ id, dt, video_id, category, title, cover, video, score, rovn, exposure, `status`, create_timestamp,
|
|
|
update_timestamp
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideoExample" resultMap="BaseResultMap">
|
|
|
@@ -110,13 +112,13 @@
|
|
|
</if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideo">
|
|
|
- insert into content_platform_video (id, dt, video_id,
|
|
|
- category, title, cover,
|
|
|
- video, score, `status`,
|
|
|
+ insert into content_platform_video (id, dt, video_id,
|
|
|
+ category, title, cover,
|
|
|
+ video, score, rovn, exposure, `status`,
|
|
|
create_timestamp, update_timestamp)
|
|
|
- values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{videoId,jdbcType=BIGINT},
|
|
|
- #{category,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR},
|
|
|
- #{video,jdbcType=VARCHAR}, #{score,jdbcType=DOUBLE}, #{status,jdbcType=INTEGER},
|
|
|
+ values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{videoId,jdbcType=BIGINT},
|
|
|
+ #{category,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR},
|
|
|
+ #{video,jdbcType=VARCHAR}, #{score,jdbcType=DOUBLE}, #{rovn,jdbcType=DOUBLE}, #{exposure,jdbcType=BIGINT}, #{status,jdbcType=INTEGER},
|
|
|
#{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideo">
|
|
|
@@ -146,6 +148,12 @@
|
|
|
<if test="score != null">
|
|
|
score,
|
|
|
</if>
|
|
|
+ <if test="rovn != null">
|
|
|
+ rovn,
|
|
|
+ </if>
|
|
|
+ <if test="exposure != null">
|
|
|
+ exposure,
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
`status`,
|
|
|
</if>
|
|
|
@@ -181,6 +189,12 @@
|
|
|
<if test="score != null">
|
|
|
#{score,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
+ <if test="rovn != null">
|
|
|
+ #{rovn,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="exposure != null">
|
|
|
+ #{exposure,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -225,6 +239,12 @@
|
|
|
<if test="record.score != null">
|
|
|
score = #{record.score,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
+ <if test="record.rovn != null">
|
|
|
+ rovn = #{record.rovn,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="record.exposure != null">
|
|
|
+ exposure = #{record.exposure,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
<if test="record.status != null">
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -249,6 +269,8 @@
|
|
|
cover = #{record.cover,jdbcType=VARCHAR},
|
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
|
score = #{record.score,jdbcType=DOUBLE},
|
|
|
+ rovn = #{record.rovn,jdbcType=DOUBLE},
|
|
|
+ exposure = #{record.exposure,jdbcType=BIGINT},
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT}
|
|
|
@@ -280,6 +302,12 @@
|
|
|
<if test="score != null">
|
|
|
score = #{score,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
+ <if test="rovn != null">
|
|
|
+ rovn = #{rovn,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="exposure != null">
|
|
|
+ exposure = #{exposure,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -301,6 +329,8 @@
|
|
|
cover = #{cover,jdbcType=VARCHAR},
|
|
|
video = #{video,jdbcType=VARCHAR},
|
|
|
score = #{score,jdbcType=DOUBLE},
|
|
|
+ rovn = #{rovn,jdbcType=DOUBLE},
|
|
|
+ exposure = #{exposure,jdbcType=BIGINT},
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT}
|