|
@@ -4,6 +4,8 @@
|
|
|
<resultMap id="BaseResultMap" type="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideo">
|
|
<resultMap id="BaseResultMap" type="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideo">
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
<result column="content_id" jdbcType="VARCHAR" property="contentId" />
|
|
<result column="content_id" jdbcType="VARCHAR" property="contentId" />
|
|
|
|
|
+ <result column="video_pool_trace_id" jdbcType="VARCHAR" property="videoPoolTraceId" />
|
|
|
|
|
+ <result column="pq_video_id" jdbcType="BIGINT" property="pqVideoId" />
|
|
|
<result column="flow_pool_level" jdbcType="VARCHAR" property="flowPoolLevel" />
|
|
<result column="flow_pool_level" jdbcType="VARCHAR" property="flowPoolLevel" />
|
|
|
<result column="content_status" jdbcType="INTEGER" property="contentStatus" />
|
|
<result column="content_status" jdbcType="INTEGER" property="contentStatus" />
|
|
|
<result column="retry_count" jdbcType="INTEGER" property="retryCount" />
|
|
<result column="retry_count" jdbcType="INTEGER" property="retryCount" />
|
|
@@ -69,7 +71,8 @@
|
|
|
</where>
|
|
</where>
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
- id, content_id, flow_pool_level, content_status, retry_count, create_time, update_time
|
|
|
|
|
|
|
+ id, content_id, video_pool_trace_id, pq_video_id, flow_pool_level, content_status,
|
|
|
|
|
+ retry_count, create_time, update_time
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideoExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideoExample" resultMap="BaseResultMap">
|
|
|
select
|
|
select
|
|
@@ -105,12 +108,14 @@
|
|
|
</if>
|
|
</if>
|
|
|
</delete>
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideo">
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideo">
|
|
|
- insert into long_articles_new_match_videos (id, content_id, flow_pool_level,
|
|
|
|
|
- content_status, retry_count, create_time,
|
|
|
|
|
- update_time)
|
|
|
|
|
- values (#{id,jdbcType=BIGINT}, #{contentId,jdbcType=VARCHAR}, #{flowPoolLevel,jdbcType=VARCHAR},
|
|
|
|
|
- #{contentStatus,jdbcType=INTEGER}, #{retryCount,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
- #{updateTime,jdbcType=TIMESTAMP})
|
|
|
|
|
|
|
+ insert into long_articles_new_match_videos (id, content_id, video_pool_trace_id,
|
|
|
|
|
+ pq_video_id, flow_pool_level, content_status,
|
|
|
|
|
+ retry_count, create_time, update_time
|
|
|
|
|
+ )
|
|
|
|
|
+ values (#{id,jdbcType=BIGINT}, #{contentId,jdbcType=VARCHAR}, #{videoPoolTraceId,jdbcType=VARCHAR},
|
|
|
|
|
+ #{pqVideoId,jdbcType=BIGINT}, #{flowPoolLevel,jdbcType=VARCHAR}, #{contentStatus,jdbcType=INTEGER},
|
|
|
|
|
+ #{retryCount,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
|
|
|
|
|
+ )
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideo">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideo">
|
|
|
insert into long_articles_new_match_videos
|
|
insert into long_articles_new_match_videos
|
|
@@ -121,6 +126,12 @@
|
|
|
<if test="contentId != null">
|
|
<if test="contentId != null">
|
|
|
content_id,
|
|
content_id,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="videoPoolTraceId != null">
|
|
|
|
|
+ video_pool_trace_id,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="pqVideoId != null">
|
|
|
|
|
+ pq_video_id,
|
|
|
|
|
+ </if>
|
|
|
<if test="flowPoolLevel != null">
|
|
<if test="flowPoolLevel != null">
|
|
|
flow_pool_level,
|
|
flow_pool_level,
|
|
|
</if>
|
|
</if>
|
|
@@ -144,6 +155,12 @@
|
|
|
<if test="contentId != null">
|
|
<if test="contentId != null">
|
|
|
#{contentId,jdbcType=VARCHAR},
|
|
#{contentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="videoPoolTraceId != null">
|
|
|
|
|
+ #{videoPoolTraceId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="pqVideoId != null">
|
|
|
|
|
+ #{pqVideoId,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
<if test="flowPoolLevel != null">
|
|
<if test="flowPoolLevel != null">
|
|
|
#{flowPoolLevel,jdbcType=VARCHAR},
|
|
#{flowPoolLevel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -176,6 +193,12 @@
|
|
|
<if test="record.contentId != null">
|
|
<if test="record.contentId != null">
|
|
|
content_id = #{record.contentId,jdbcType=VARCHAR},
|
|
content_id = #{record.contentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.videoPoolTraceId != null">
|
|
|
|
|
+ video_pool_trace_id = #{record.videoPoolTraceId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.pqVideoId != null">
|
|
|
|
|
+ pq_video_id = #{record.pqVideoId,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
<if test="record.flowPoolLevel != null">
|
|
<if test="record.flowPoolLevel != null">
|
|
|
flow_pool_level = #{record.flowPoolLevel,jdbcType=VARCHAR},
|
|
flow_pool_level = #{record.flowPoolLevel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -200,6 +223,8 @@
|
|
|
update long_articles_new_match_videos
|
|
update long_articles_new_match_videos
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
|
content_id = #{record.contentId,jdbcType=VARCHAR},
|
|
content_id = #{record.contentId,jdbcType=VARCHAR},
|
|
|
|
|
+ video_pool_trace_id = #{record.videoPoolTraceId,jdbcType=VARCHAR},
|
|
|
|
|
+ pq_video_id = #{record.pqVideoId,jdbcType=BIGINT},
|
|
|
flow_pool_level = #{record.flowPoolLevel,jdbcType=VARCHAR},
|
|
flow_pool_level = #{record.flowPoolLevel,jdbcType=VARCHAR},
|
|
|
content_status = #{record.contentStatus,jdbcType=INTEGER},
|
|
content_status = #{record.contentStatus,jdbcType=INTEGER},
|
|
|
retry_count = #{record.retryCount,jdbcType=INTEGER},
|
|
retry_count = #{record.retryCount,jdbcType=INTEGER},
|
|
@@ -215,6 +240,12 @@
|
|
|
<if test="contentId != null">
|
|
<if test="contentId != null">
|
|
|
content_id = #{contentId,jdbcType=VARCHAR},
|
|
content_id = #{contentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="videoPoolTraceId != null">
|
|
|
|
|
+ video_pool_trace_id = #{videoPoolTraceId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="pqVideoId != null">
|
|
|
|
|
+ pq_video_id = #{pqVideoId,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
<if test="flowPoolLevel != null">
|
|
<if test="flowPoolLevel != null">
|
|
|
flow_pool_level = #{flowPoolLevel,jdbcType=VARCHAR},
|
|
flow_pool_level = #{flowPoolLevel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -236,6 +267,8 @@
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideo">
|
|
<update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.NewMatchVideo">
|
|
|
update long_articles_new_match_videos
|
|
update long_articles_new_match_videos
|
|
|
set content_id = #{contentId,jdbcType=VARCHAR},
|
|
set content_id = #{contentId,jdbcType=VARCHAR},
|
|
|
|
|
+ video_pool_trace_id = #{videoPoolTraceId,jdbcType=VARCHAR},
|
|
|
|
|
+ pq_video_id = #{pqVideoId,jdbcType=BIGINT},
|
|
|
flow_pool_level = #{flowPoolLevel,jdbcType=VARCHAR},
|
|
flow_pool_level = #{flowPoolLevel,jdbcType=VARCHAR},
|
|
|
content_status = #{contentStatus,jdbcType=INTEGER},
|
|
content_status = #{contentStatus,jdbcType=INTEGER},
|
|
|
retry_count = #{retryCount,jdbcType=INTEGER},
|
|
retry_count = #{retryCount,jdbcType=INTEGER},
|