|
@@ -26,13 +26,15 @@
|
|
|
<result column="standard_element" jdbcType="VARCHAR" property="standardElement" />
|
|
<result column="standard_element" jdbcType="VARCHAR" property="standardElement" />
|
|
|
<result column="element_dimension" jdbcType="VARCHAR" property="elementDimension" />
|
|
<result column="element_dimension" jdbcType="VARCHAR" property="elementDimension" />
|
|
|
<result column="category_name" jdbcType="VARCHAR" property="categoryName" />
|
|
<result column="category_name" jdbcType="VARCHAR" property="categoryName" />
|
|
|
- <result column="category" jdbcType="VARCHAR" property="category" />
|
|
|
|
|
<result column="crowd_count" jdbcType="INTEGER" property="crowdCount" />
|
|
<result column="crowd_count" jdbcType="INTEGER" property="crowdCount" />
|
|
|
<result column="video_count" jdbcType="INTEGER" property="videoCount" />
|
|
<result column="video_count" jdbcType="INTEGER" property="videoCount" />
|
|
|
<result column="visit_uv" jdbcType="BIGINT" property="visitUv" />
|
|
<result column="visit_uv" jdbcType="BIGINT" property="visitUv" />
|
|
|
<result column="uv_ratio" jdbcType="DOUBLE" property="uvRatio" />
|
|
<result column="uv_ratio" jdbcType="DOUBLE" property="uvRatio" />
|
|
|
<result column="total_rov" jdbcType="DOUBLE" property="totalRov" />
|
|
<result column="total_rov" jdbcType="DOUBLE" property="totalRov" />
|
|
|
<result column="match_experiment_id" jdbcType="VARCHAR" property="matchExperimentId" />
|
|
<result column="match_experiment_id" jdbcType="VARCHAR" property="matchExperimentId" />
|
|
|
|
|
+ <result column="match_method" jdbcType="VARCHAR" property="matchMethod" />
|
|
|
|
|
+ <result column="match_video_filter" jdbcType="VARCHAR" property="matchVideoFilter" />
|
|
|
|
|
+ <result column="match_sort" jdbcType="VARCHAR" property="matchSort" />
|
|
|
<result column="video_id" jdbcType="BIGINT" property="videoId" />
|
|
<result column="video_id" jdbcType="BIGINT" property="videoId" />
|
|
|
<result column="config_code" jdbcType="VARCHAR" property="configCode" />
|
|
<result column="config_code" jdbcType="VARCHAR" property="configCode" />
|
|
|
<result column="score" jdbcType="DOUBLE" property="score" />
|
|
<result column="score" jdbcType="DOUBLE" property="score" />
|
|
@@ -46,6 +48,7 @@
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<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" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
<where>
|
|
@@ -110,9 +113,10 @@
|
|
|
conversion_target, partner, account, scene_value, demand_strategy, drive_dimension_time,
|
|
conversion_target, partner, account, scene_value, demand_strategy, drive_dimension_time,
|
|
|
dimension, demand_filter_sort_strategy, demand_type, demand_content_id, demand_content_title,
|
|
dimension, demand_filter_sort_strategy, demand_type, demand_content_id, demand_content_title,
|
|
|
demand_content_topic, point_type, standard_element, element_dimension, category_name,
|
|
demand_content_topic, point_type, standard_element, element_dimension, category_name,
|
|
|
- crowd_count, video_count, visit_uv, uv_ratio, total_rov, match_experiment_id, video_id,
|
|
|
|
|
- config_code, score, sim, rov, match_text, title, cover, video, experiment_id, `status`,
|
|
|
|
|
- create_timestamp, update_timestamp
|
|
|
|
|
|
|
+ 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,
|
|
|
|
|
+ title, cover, video, experiment_id, `status`, create_timestamp, update_timestamp,
|
|
|
|
|
+ category
|
|
|
</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
|
|
@@ -158,11 +162,12 @@
|
|
|
point_type, standard_element, element_dimension,
|
|
point_type, standard_element, element_dimension,
|
|
|
category_name, crowd_count, video_count,
|
|
category_name, crowd_count, video_count,
|
|
|
visit_uv, uv_ratio, total_rov,
|
|
visit_uv, uv_ratio, total_rov,
|
|
|
- match_experiment_id, video_id, config_code,
|
|
|
|
|
|
|
+ match_experiment_id, match_method, match_video_filter,
|
|
|
|
|
+ match_sort, video_id, config_code,
|
|
|
score, sim, rov, match_text,
|
|
score, sim, rov, match_text,
|
|
|
title, cover, video,
|
|
title, cover, video,
|
|
|
experiment_id, `status`, create_timestamp,
|
|
experiment_id, `status`, create_timestamp,
|
|
|
- update_timestamp)
|
|
|
|
|
|
|
+ update_timestamp, category)
|
|
|
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},
|
|
@@ -173,11 +178,12 @@
|
|
|
#{pointType,jdbcType=VARCHAR}, #{standardElement,jdbcType=VARCHAR}, #{elementDimension,jdbcType=VARCHAR},
|
|
#{pointType,jdbcType=VARCHAR}, #{standardElement,jdbcType=VARCHAR}, #{elementDimension,jdbcType=VARCHAR},
|
|
|
#{categoryName,jdbcType=VARCHAR}, #{crowdCount,jdbcType=INTEGER}, #{videoCount,jdbcType=INTEGER},
|
|
#{categoryName,jdbcType=VARCHAR}, #{crowdCount,jdbcType=INTEGER}, #{videoCount,jdbcType=INTEGER},
|
|
|
#{visitUv,jdbcType=BIGINT}, #{uvRatio,jdbcType=DOUBLE}, #{totalRov,jdbcType=DOUBLE},
|
|
#{visitUv,jdbcType=BIGINT}, #{uvRatio,jdbcType=DOUBLE}, #{totalRov,jdbcType=DOUBLE},
|
|
|
- #{matchExperimentId,jdbcType=VARCHAR}, #{videoId,jdbcType=BIGINT}, #{configCode,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ #{matchExperimentId,jdbcType=VARCHAR}, #{matchMethod,jdbcType=VARCHAR}, #{matchVideoFilter,jdbcType=VARCHAR},
|
|
|
|
|
+ #{matchSort,jdbcType=VARCHAR}, #{videoId,jdbcType=BIGINT}, #{configCode,jdbcType=VARCHAR},
|
|
|
#{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}, #{status,jdbcType=INTEGER}, #{createTimestamp,jdbcType=BIGINT},
|
|
#{experimentId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTimestamp,jdbcType=BIGINT},
|
|
|
- #{updateTimestamp,jdbcType=BIGINT})
|
|
|
|
|
|
|
+ #{updateTimestamp,jdbcType=BIGINT}, #{category,jdbcType=VARCHAR})
|
|
|
</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
|
|
@@ -272,6 +278,15 @@
|
|
|
<if test="matchExperimentId != null">
|
|
<if test="matchExperimentId != null">
|
|
|
match_experiment_id,
|
|
match_experiment_id,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchMethod != null">
|
|
|
|
|
+ match_method,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchVideoFilter != null">
|
|
|
|
|
+ match_video_filter,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchSort != null">
|
|
|
|
|
+ match_sort,
|
|
|
|
|
+ </if>
|
|
|
<if test="videoId != null">
|
|
<if test="videoId != null">
|
|
|
video_id,
|
|
video_id,
|
|
|
</if>
|
|
</if>
|
|
@@ -311,6 +326,9 @@
|
|
|
<if test="updateTimestamp != null">
|
|
<if test="updateTimestamp != null">
|
|
|
update_timestamp,
|
|
update_timestamp,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="category != null">
|
|
|
|
|
+ category,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -403,6 +421,15 @@
|
|
|
<if test="matchExperimentId != null">
|
|
<if test="matchExperimentId != null">
|
|
|
#{matchExperimentId,jdbcType=VARCHAR},
|
|
#{matchExperimentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchMethod != null">
|
|
|
|
|
+ #{matchMethod,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchVideoFilter != null">
|
|
|
|
|
+ #{matchVideoFilter,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchSort != null">
|
|
|
|
|
+ #{matchSort,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="videoId != null">
|
|
<if test="videoId != null">
|
|
|
#{videoId,jdbcType=BIGINT},
|
|
#{videoId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -442,6 +469,9 @@
|
|
|
<if test="updateTimestamp != null">
|
|
<if test="updateTimestamp != null">
|
|
|
#{updateTimestamp,jdbcType=BIGINT},
|
|
#{updateTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="category != null">
|
|
|
|
|
+ #{category,jdbcType=VARCHAR},
|
|
|
|
|
+ </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">
|
|
@@ -543,6 +573,15 @@
|
|
|
<if test="record.matchExperimentId != null">
|
|
<if test="record.matchExperimentId != null">
|
|
|
match_experiment_id = #{record.matchExperimentId,jdbcType=VARCHAR},
|
|
match_experiment_id = #{record.matchExperimentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.matchMethod != null">
|
|
|
|
|
+ match_method = #{record.matchMethod,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.matchVideoFilter != null">
|
|
|
|
|
+ match_video_filter = #{record.matchVideoFilter,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.matchSort != null">
|
|
|
|
|
+ match_sort = #{record.matchSort,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="record.videoId != null">
|
|
<if test="record.videoId != null">
|
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -582,6 +621,9 @@
|
|
|
<if test="record.updateTimestamp != null">
|
|
<if test="record.updateTimestamp != null">
|
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT},
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.category != null">
|
|
|
|
|
+ category = #{record.category,jdbcType=VARCHAR},
|
|
|
|
|
+ </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" />
|
|
@@ -619,6 +661,9 @@
|
|
|
uv_ratio = #{record.uvRatio,jdbcType=DOUBLE},
|
|
uv_ratio = #{record.uvRatio,jdbcType=DOUBLE},
|
|
|
total_rov = #{record.totalRov,jdbcType=DOUBLE},
|
|
total_rov = #{record.totalRov,jdbcType=DOUBLE},
|
|
|
match_experiment_id = #{record.matchExperimentId,jdbcType=VARCHAR},
|
|
match_experiment_id = #{record.matchExperimentId,jdbcType=VARCHAR},
|
|
|
|
|
+ match_method = #{record.matchMethod,jdbcType=VARCHAR},
|
|
|
|
|
+ match_video_filter = #{record.matchVideoFilter,jdbcType=VARCHAR},
|
|
|
|
|
+ match_sort = #{record.matchSort,jdbcType=VARCHAR},
|
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
|
config_code = #{record.configCode,jdbcType=VARCHAR},
|
|
config_code = #{record.configCode,jdbcType=VARCHAR},
|
|
|
score = #{record.score,jdbcType=DOUBLE},
|
|
score = #{record.score,jdbcType=DOUBLE},
|
|
@@ -631,7 +676,8 @@
|
|
|
experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
|
`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}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
@@ -726,6 +772,15 @@
|
|
|
<if test="matchExperimentId != null">
|
|
<if test="matchExperimentId != null">
|
|
|
match_experiment_id = #{matchExperimentId,jdbcType=VARCHAR},
|
|
match_experiment_id = #{matchExperimentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchMethod != null">
|
|
|
|
|
+ match_method = #{matchMethod,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchVideoFilter != null">
|
|
|
|
|
+ match_video_filter = #{matchVideoFilter,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchSort != null">
|
|
|
|
|
+ match_sort = #{matchSort,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="videoId != null">
|
|
<if test="videoId != null">
|
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -765,6 +820,9 @@
|
|
|
<if test="updateTimestamp != null">
|
|
<if test="updateTimestamp != null">
|
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT},
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="category != null">
|
|
|
|
|
+ category = #{category,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
@@ -799,6 +857,9 @@
|
|
|
uv_ratio = #{uvRatio,jdbcType=DOUBLE},
|
|
uv_ratio = #{uvRatio,jdbcType=DOUBLE},
|
|
|
total_rov = #{totalRov,jdbcType=DOUBLE},
|
|
total_rov = #{totalRov,jdbcType=DOUBLE},
|
|
|
match_experiment_id = #{matchExperimentId,jdbcType=VARCHAR},
|
|
match_experiment_id = #{matchExperimentId,jdbcType=VARCHAR},
|
|
|
|
|
+ match_method = #{matchMethod,jdbcType=VARCHAR},
|
|
|
|
|
+ match_video_filter = #{matchVideoFilter,jdbcType=VARCHAR},
|
|
|
|
|
+ match_sort = #{matchSort,jdbcType=VARCHAR},
|
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
|
config_code = #{configCode,jdbcType=VARCHAR},
|
|
config_code = #{configCode,jdbcType=VARCHAR},
|
|
|
score = #{score,jdbcType=DOUBLE},
|
|
score = #{score,jdbcType=DOUBLE},
|
|
@@ -811,7 +872,8 @@
|
|
|
experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
|
`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}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|