|
|
@@ -5,23 +5,26 @@
|
|
|
<insert id="batchInsert" parameterType="java.util.List">
|
|
|
INSERT INTO content_platform_demand_video
|
|
|
(dt, channel_name, crowd_segment, dimension, point_type, standard_element, element_dimension,
|
|
|
- category_name, category, demand_id, crowd_package, conversion_target, partner, account, scene_value,
|
|
|
- demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
|
|
|
- demand_content_id, demand_content_title, demand_content_topic,
|
|
|
- crowd_count, video_count, visit_uv, uv_ratio, total_rov, online_action, match_experiment_id,
|
|
|
- match_method, match_video_filter, match_sort,
|
|
|
- video_id, config_code, score, sim, rov,
|
|
|
- match_text, title, cover, video, experiment_id, scene_sum_rov, channel_level3, status, create_timestamp, update_timestamp, match_exposure_pv)
|
|
|
+ category_name, category, demand_id, crowd_package, conversion_target, partner, account, scene_value,
|
|
|
+ demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
|
|
|
+ demand_content_id, demand_content_title, demand_content_topic, crowd_count, video_count, visit_uv, uv_ratio,
|
|
|
+ total_rov, online_action, match_experiment_id, match_method, match_video_filter, match_sort,
|
|
|
+ video_id, config_code, score, sim, rov, match_text, title, cover, video, experiment_id, scene_sum_rov,
|
|
|
+ channel_level3, status, create_timestamp, update_timestamp,
|
|
|
+ match_exposure_pv, match_head_single_return_rate, match_head_distribution_single_return_rate)
|
|
|
VALUES
|
|
|
<foreach collection="list" item="item" separator=",">
|
|
|
- (#{item.dt}, #{item.channelName}, #{item.crowdSegment}, #{item.dimension}, #{item.pointType}, #{item.standardElement}, #{item.elementDimension},
|
|
|
- #{item.categoryName}, #{item.category}, #{item.demandId}, #{item.crowdPackage}, #{item.conversionTarget}, #{item.partner}, #{item.account}, #{item.sceneValue},
|
|
|
- #{item.demandStrategy}, #{item.driveDimensionTime}, #{item.demandFilterSortStrategy}, #{item.demandType},
|
|
|
- #{item.demandContentId}, #{item.demandContentTitle}, #{item.demandContentTopic},
|
|
|
- #{item.crowdCount}, #{item.videoCount}, #{item.visitUv}, #{item.uvRatio}, #{item.totalRov}, #{item.onlineAction}, #{item.matchExperimentId},
|
|
|
- #{item.matchMethod}, #{item.matchVideoFilter}, #{item.matchSort},
|
|
|
- #{item.videoId}, #{item.configCode}, #{item.score}, #{item.sim}, #{item.rov},
|
|
|
- #{item.matchText}, #{item.title}, #{item.cover}, #{item.video}, #{item.experimentId}, #{item.sceneSumRov}, #{item.channelLevel3}, #{item.status}, #{item.createTimestamp}, #{item.updateTimestamp}, #{item.matchExposurePv})
|
|
|
+ (#{item.dt}, #{item.channelName}, #{item.crowdSegment}, #{item.dimension}, #{item.pointType},
|
|
|
+ #{item.standardElement}, #{item.elementDimension}, #{item.categoryName}, #{item.category}, #{item.demandId},
|
|
|
+ #{item.crowdPackage}, #{item.conversionTarget}, #{item.partner}, #{item.account}, #{item.sceneValue},
|
|
|
+ #{item.demandStrategy}, #{item.driveDimensionTime}, #{item.demandFilterSortStrategy}, #{item.demandType},
|
|
|
+ #{item.demandContentId}, #{item.demandContentTitle}, #{item.demandContentTopic},
|
|
|
+ #{item.crowdCount}, #{item.videoCount}, #{item.visitUv}, #{item.uvRatio}, #{item.totalRov},
|
|
|
+ #{item.onlineAction}, #{item.matchExperimentId}, #{item.matchMethod}, #{item.matchVideoFilter}, #{item.matchSort},
|
|
|
+ #{item.videoId}, #{item.configCode}, #{item.score}, #{item.sim}, #{item.rov},
|
|
|
+ #{item.matchText}, #{item.title}, #{item.cover}, #{item.video}, #{item.experimentId}, #{item.sceneSumRov},
|
|
|
+ #{item.channelLevel3}, #{item.status}, #{item.createTimestamp}, #{item.updateTimestamp},
|
|
|
+ #{item.matchExposurePv}, #{item.matchHeadSingleReturnRate}, #{item.matchHeadDistributionSingleReturnRate})
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
|
@@ -45,7 +48,8 @@
|
|
|
crowd_count, video_count, visit_uv, uv_ratio, total_rov, online_action, match_experiment_id,
|
|
|
match_method, match_video_filter, match_sort,
|
|
|
video_id, config_code, score, sim, rov,
|
|
|
- match_text, title, cover, video, experiment_id, scene_sum_rov, channel_level3, status, create_timestamp, update_timestamp, match_exposure_pv
|
|
|
+ match_text, title, cover, video, experiment_id, scene_sum_rov, channel_level3, status, create_timestamp, update_timestamp,
|
|
|
+ match_exposure_pv, match_head_single_return_rate, match_head_distribution_single_return_rate
|
|
|
FROM content_platform_demand_video
|
|
|
WHERE dt = #{dt} AND status = 1
|
|
|
<if test="channelName != null and channelName != ''">
|
|
|
@@ -107,7 +111,8 @@
|
|
|
crowd_count, video_count, visit_uv, uv_ratio, total_rov, online_action, match_experiment_id,
|
|
|
match_method, 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, match_exposure_pv
|
|
|
+ match_text, title, cover, video, experiment_id, scene_sum_rov, status, create_timestamp, update_timestamp,
|
|
|
+ match_exposure_pv, match_head_single_return_rate, match_head_distribution_single_return_rate
|
|
|
FROM content_platform_demand_video
|
|
|
WHERE dt = #{dt} AND status = 1
|
|
|
<if test="excludeCategories != null and excludeCategories.size() > 0">
|
|
|
@@ -172,7 +177,8 @@
|
|
|
crowd_count, video_count, visit_uv, uv_ratio, total_rov, online_action, match_experiment_id,
|
|
|
match_method, 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, match_exposure_pv
|
|
|
+ match_text, title, cover, video, experiment_id, scene_sum_rov, status, create_timestamp, update_timestamp,
|
|
|
+ match_exposure_pv, match_head_single_return_rate, match_head_distribution_single_return_rate
|
|
|
FROM content_platform_demand_video
|
|
|
WHERE dt = #{dt} AND status = 1
|
|
|
AND channel_name = #{channelName}
|