|
@@ -50,6 +50,7 @@
|
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
|
<result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
|
|
<result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
|
|
|
<result column="category" jdbcType="VARCHAR" property="category" />
|
|
<result column="category" jdbcType="VARCHAR" property="category" />
|
|
|
|
|
+ <result column="match_exposure_pv" jdbcType="BIGINT" property="matchExposurePv" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
<where>
|
|
@@ -117,7 +118,7 @@
|
|
|
crowd_count, video_count, visit_uv, uv_ratio, total_rov, match_experiment_id, match_method,
|
|
crowd_count, video_count, visit_uv, uv_ratio, total_rov, match_experiment_id, match_method,
|
|
|
match_video_filter, match_sort, video_id, config_code, score, sim, rov, match_text,
|
|
match_video_filter, match_sort, video_id, config_code, score, sim, rov, match_text,
|
|
|
title, cover, video, experiment_id, scene_sum_rov, `status`, create_timestamp, update_timestamp,
|
|
title, cover, video, experiment_id, scene_sum_rov, `status`, create_timestamp, update_timestamp,
|
|
|
- category
|
|
|
|
|
|
|
+ category, match_exposure_pv
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideoExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideoExample" resultMap="BaseResultMap">
|
|
|
select
|
|
select
|
|
@@ -168,8 +169,8 @@
|
|
|
score, sim, rov, match_text,
|
|
score, sim, rov, match_text,
|
|
|
title, cover, video,
|
|
title, cover, video,
|
|
|
experiment_id, scene_sum_rov, `status`,
|
|
experiment_id, scene_sum_rov, `status`,
|
|
|
- create_timestamp, update_timestamp, category
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ create_timestamp, update_timestamp, category,
|
|
|
|
|
+ match_exposure_pv)
|
|
|
values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{onlineAction,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{onlineAction,jdbcType=VARCHAR},
|
|
|
#{channelName,jdbcType=VARCHAR}, #{crowdSegment,jdbcType=VARCHAR}, #{channelLevel3,jdbcType=VARCHAR},
|
|
#{channelName,jdbcType=VARCHAR}, #{crowdSegment,jdbcType=VARCHAR}, #{channelLevel3,jdbcType=VARCHAR},
|
|
|
#{demandId,jdbcType=VARCHAR}, #{crowdPackage,jdbcType=VARCHAR}, #{conversionTarget,jdbcType=VARCHAR},
|
|
#{demandId,jdbcType=VARCHAR}, #{crowdPackage,jdbcType=VARCHAR}, #{conversionTarget,jdbcType=VARCHAR},
|
|
@@ -185,8 +186,8 @@
|
|
|
#{score,jdbcType=DOUBLE}, #{sim,jdbcType=DOUBLE}, #{rov,jdbcType=DOUBLE}, #{matchText,jdbcType=VARCHAR},
|
|
#{score,jdbcType=DOUBLE}, #{sim,jdbcType=DOUBLE}, #{rov,jdbcType=DOUBLE}, #{matchText,jdbcType=VARCHAR},
|
|
|
#{title,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR},
|
|
#{title,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR},
|
|
|
#{experimentId,jdbcType=VARCHAR}, #{sceneSumRov,jdbcType=DOUBLE}, #{status,jdbcType=INTEGER},
|
|
#{experimentId,jdbcType=VARCHAR}, #{sceneSumRov,jdbcType=DOUBLE}, #{status,jdbcType=INTEGER},
|
|
|
- #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT}, #{category,jdbcType=VARCHAR}
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT}, #{category,jdbcType=VARCHAR},
|
|
|
|
|
+ #{matchExposurePv,jdbcType=BIGINT})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
|
|
|
insert into content_platform_demand_video
|
|
insert into content_platform_demand_video
|
|
@@ -335,6 +336,9 @@
|
|
|
<if test="category != null">
|
|
<if test="category != null">
|
|
|
category,
|
|
category,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchExposurePv != null">
|
|
|
|
|
+ match_exposure_pv,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -481,6 +485,9 @@
|
|
|
<if test="category != null">
|
|
<if test="category != null">
|
|
|
#{category,jdbcType=VARCHAR},
|
|
#{category,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchExposurePv != null">
|
|
|
|
|
+ #{matchExposurePv,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideoExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideoExample" resultType="java.lang.Long">
|
|
@@ -636,6 +643,9 @@
|
|
|
<if test="record.category != null">
|
|
<if test="record.category != null">
|
|
|
category = #{record.category,jdbcType=VARCHAR},
|
|
category = #{record.category,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.matchExposurePv != null">
|
|
|
|
|
+ match_exposure_pv = #{record.matchExposurePv,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -690,7 +700,8 @@
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT},
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT},
|
|
|
- category = #{record.category,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ category = #{record.category,jdbcType=VARCHAR},
|
|
|
|
|
+ match_exposure_pv = #{record.matchExposurePv,jdbcType=BIGINT}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
@@ -839,6 +850,9 @@
|
|
|
<if test="category != null">
|
|
<if test="category != null">
|
|
|
category = #{category,jdbcType=VARCHAR},
|
|
category = #{category,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchExposurePv != null">
|
|
|
|
|
+ match_exposure_pv = #{matchExposurePv,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
@@ -890,7 +904,8 @@
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT},
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT},
|
|
|
- category = #{category,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ category = #{category,jdbcType=VARCHAR},
|
|
|
|
|
+ match_exposure_pv = #{matchExposurePv,jdbcType=BIGINT}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|