|
@@ -9,6 +9,7 @@
|
|
|
<result column="video_recall_strategy" jdbcType="VARCHAR" property="videoRecallStrategy" />
|
|
|
<result column="recall_date" jdbcType="DATE" property="recallDate" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
+ <result column="rovn" jdbcType="DOUBLE" property="rovn" />
|
|
|
<result column="status_update_timestamp" jdbcType="BIGINT" property="statusUpdateTimestamp" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
@@ -70,7 +71,8 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, video_id, title, category, video_recall_strategy, recall_date, `status`, status_update_timestamp
|
|
|
+ id, video_id, title, category, video_recall_strategy, recall_date, `status`, rovn,
|
|
|
+ status_update_timestamp
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.PiaoquanSourceVideoPoolExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -108,10 +110,12 @@
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.PiaoquanSourceVideoPool">
|
|
|
insert into piaoquan_source_video_pool (id, video_id, title,
|
|
|
category, video_recall_strategy, recall_date,
|
|
|
- `status`, status_update_timestamp)
|
|
|
+ `status`, rovn, status_update_timestamp
|
|
|
+ )
|
|
|
values (#{id,jdbcType=INTEGER}, #{videoId,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR},
|
|
|
#{category,jdbcType=VARCHAR}, #{videoRecallStrategy,jdbcType=VARCHAR}, #{recallDate,jdbcType=DATE},
|
|
|
- #{status,jdbcType=INTEGER}, #{statusUpdateTimestamp,jdbcType=BIGINT})
|
|
|
+ #{status,jdbcType=INTEGER}, #{rovn,jdbcType=DOUBLE}, #{statusUpdateTimestamp,jdbcType=BIGINT}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.PiaoquanSourceVideoPool">
|
|
|
insert into piaoquan_source_video_pool
|
|
@@ -137,6 +141,9 @@
|
|
|
<if test="status != null">
|
|
|
`status`,
|
|
|
</if>
|
|
|
+ <if test="rovn != null">
|
|
|
+ rovn,
|
|
|
+ </if>
|
|
|
<if test="statusUpdateTimestamp != null">
|
|
|
status_update_timestamp,
|
|
|
</if>
|
|
@@ -163,6 +170,9 @@
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="rovn != null">
|
|
|
+ #{rovn,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
<if test="statusUpdateTimestamp != null">
|
|
|
#{statusUpdateTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -198,6 +208,9 @@
|
|
|
<if test="record.status != null">
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.rovn != null">
|
|
|
+ rovn = #{record.rovn,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
<if test="record.statusUpdateTimestamp != null">
|
|
|
status_update_timestamp = #{record.statusUpdateTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -215,6 +228,7 @@
|
|
|
video_recall_strategy = #{record.videoRecallStrategy,jdbcType=VARCHAR},
|
|
|
recall_date = #{record.recallDate,jdbcType=DATE},
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
+ rovn = #{record.rovn,jdbcType=DOUBLE},
|
|
|
status_update_timestamp = #{record.statusUpdateTimestamp,jdbcType=BIGINT}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -241,6 +255,9 @@
|
|
|
<if test="status != null">
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="rovn != null">
|
|
|
+ rovn = #{rovn,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
<if test="statusUpdateTimestamp != null">
|
|
|
status_update_timestamp = #{statusUpdateTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -255,6 +272,7 @@
|
|
|
video_recall_strategy = #{videoRecallStrategy,jdbcType=VARCHAR},
|
|
|
recall_date = #{recallDate,jdbcType=DATE},
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
+ rovn = #{rovn,jdbcType=DOUBLE},
|
|
|
status_update_timestamp = #{statusUpdateTimestamp,jdbcType=BIGINT}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|