|
|
@@ -7,6 +7,7 @@
|
|
|
<result column="online_action" jdbcType="VARCHAR" property="onlineAction" />
|
|
|
<result column="channel_name" jdbcType="VARCHAR" property="channelName" />
|
|
|
<result column="crowd_segment" jdbcType="VARCHAR" property="crowdSegment" />
|
|
|
+ <result column="channel_level3" jdbcType="VARCHAR" property="channelLevel3" />
|
|
|
<result column="demand_id" jdbcType="VARCHAR" property="demandId" />
|
|
|
<result column="crowd_package" jdbcType="VARCHAR" property="crowdPackage" />
|
|
|
<result column="conversion_target" jdbcType="VARCHAR" property="conversionTarget" />
|
|
|
@@ -103,9 +104,9 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, dt, online_action, channel_name, crowd_segment, demand_id, crowd_package, conversion_target,
|
|
|
- partner, account, scene_value, demand_strategy, drive_dimension_time, dimension,
|
|
|
- demand_filter_sort_strategy, demand_type, demand_content_id, demand_content_title,
|
|
|
+ id, dt, online_action, channel_name, crowd_segment, channel_level3, demand_id, crowd_package,
|
|
|
+ conversion_target, partner, account, scene_value, demand_strategy, drive_dimension_time,
|
|
|
+ dimension, demand_filter_sort_strategy, demand_type, demand_content_id, demand_content_title,
|
|
|
demand_content_topic, point_type, standard_element, 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,
|
|
|
@@ -146,30 +147,32 @@
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
|
|
|
insert into content_platform_demand_video (id, dt, online_action,
|
|
|
- channel_name, crowd_segment, demand_id,
|
|
|
- crowd_package, conversion_target, partner,
|
|
|
- account, scene_value, demand_strategy,
|
|
|
- drive_dimension_time, dimension, demand_filter_sort_strategy,
|
|
|
- demand_type, demand_content_id, demand_content_title,
|
|
|
- demand_content_topic, point_type, standard_element,
|
|
|
- category_name, crowd_count, video_count,
|
|
|
- visit_uv, uv_ratio, total_rov,
|
|
|
- match_experiment_id, video_id, config_code,
|
|
|
- score, sim, rov, match_text,
|
|
|
+ channel_name, crowd_segment, channel_level3,
|
|
|
+ demand_id, crowd_package, conversion_target,
|
|
|
+ partner, account, scene_value,
|
|
|
+ demand_strategy, drive_dimension_time, dimension,
|
|
|
+ demand_filter_sort_strategy, demand_type, demand_content_id,
|
|
|
+ demand_content_title, demand_content_topic,
|
|
|
+ point_type, standard_element, 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)
|
|
|
values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{onlineAction,jdbcType=VARCHAR},
|
|
|
- #{channelName,jdbcType=VARCHAR}, #{crowdSegment,jdbcType=VARCHAR}, #{demandId,jdbcType=VARCHAR},
|
|
|
- #{crowdPackage,jdbcType=VARCHAR}, #{conversionTarget,jdbcType=VARCHAR}, #{partner,jdbcType=VARCHAR},
|
|
|
- #{account,jdbcType=VARCHAR}, #{sceneValue,jdbcType=VARCHAR}, #{demandStrategy,jdbcType=VARCHAR},
|
|
|
- #{driveDimensionTime,jdbcType=VARCHAR}, #{dimension,jdbcType=VARCHAR}, #{demandFilterSortStrategy,jdbcType=VARCHAR},
|
|
|
- #{demandType,jdbcType=VARCHAR}, #{demandContentId,jdbcType=VARCHAR}, #{demandContentTitle,jdbcType=VARCHAR},
|
|
|
- #{demandContentTopic,jdbcType=VARCHAR}, #{pointType,jdbcType=VARCHAR}, #{standardElement,jdbcType=VARCHAR},
|
|
|
- #{categoryName,jdbcType=VARCHAR}, #{crowdCount,jdbcType=INTEGER}, #{videoCount,jdbcType=INTEGER},
|
|
|
- #{visitUv,jdbcType=BIGINT}, #{uvRatio,jdbcType=DOUBLE}, #{totalRov,jdbcType=DOUBLE},
|
|
|
- #{matchExperimentId,jdbcType=VARCHAR}, #{videoId,jdbcType=BIGINT}, #{configCode,jdbcType=VARCHAR},
|
|
|
- #{score,jdbcType=DOUBLE}, #{sim,jdbcType=DOUBLE}, #{rov,jdbcType=DOUBLE}, #{matchText,jdbcType=VARCHAR},
|
|
|
+ #{channelName,jdbcType=VARCHAR}, #{crowdSegment,jdbcType=VARCHAR}, #{channelLevel3,jdbcType=VARCHAR},
|
|
|
+ #{demandId,jdbcType=VARCHAR}, #{crowdPackage,jdbcType=VARCHAR}, #{conversionTarget,jdbcType=VARCHAR},
|
|
|
+ #{partner,jdbcType=VARCHAR}, #{account,jdbcType=VARCHAR}, #{sceneValue,jdbcType=VARCHAR},
|
|
|
+ #{demandStrategy,jdbcType=VARCHAR}, #{driveDimensionTime,jdbcType=VARCHAR}, #{dimension,jdbcType=VARCHAR},
|
|
|
+ #{demandFilterSortStrategy,jdbcType=VARCHAR}, #{demandType,jdbcType=VARCHAR}, #{demandContentId,jdbcType=VARCHAR},
|
|
|
+ #{demandContentTitle,jdbcType=VARCHAR}, #{demandContentTopic,jdbcType=VARCHAR},
|
|
|
+ #{pointType,jdbcType=VARCHAR}, #{standardElement,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR},
|
|
|
+ #{crowdCount,jdbcType=INTEGER}, #{videoCount,jdbcType=INTEGER}, #{visitUv,jdbcType=BIGINT},
|
|
|
+ #{uvRatio,jdbcType=DOUBLE}, #{totalRov,jdbcType=DOUBLE}, #{matchExperimentId,jdbcType=VARCHAR},
|
|
|
+ #{videoId,jdbcType=BIGINT}, #{configCode,jdbcType=VARCHAR}, #{score,jdbcType=DOUBLE},
|
|
|
+ #{sim,jdbcType=DOUBLE}, #{rov,jdbcType=DOUBLE}, #{matchText,jdbcType=VARCHAR},
|
|
|
#{title,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR},
|
|
|
#{experimentId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTimestamp,jdbcType=BIGINT},
|
|
|
#{updateTimestamp,jdbcType=BIGINT})
|
|
|
@@ -192,6 +195,9 @@
|
|
|
<if test="crowdSegment != null">
|
|
|
crowd_segment,
|
|
|
</if>
|
|
|
+ <if test="channelLevel3 != null">
|
|
|
+ channel_level3,
|
|
|
+ </if>
|
|
|
<if test="demandId != null">
|
|
|
demand_id,
|
|
|
</if>
|
|
|
@@ -317,6 +323,9 @@
|
|
|
<if test="crowdSegment != null">
|
|
|
#{crowdSegment,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="channelLevel3 != null">
|
|
|
+ #{channelLevel3,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="demandId != null">
|
|
|
#{demandId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -451,6 +460,9 @@
|
|
|
<if test="record.crowdSegment != null">
|
|
|
crowd_segment = #{record.crowdSegment,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.channelLevel3 != null">
|
|
|
+ channel_level3 = #{record.channelLevel3,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.demandId != null">
|
|
|
demand_id = #{record.demandId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -571,6 +583,7 @@
|
|
|
online_action = #{record.onlineAction,jdbcType=VARCHAR},
|
|
|
channel_name = #{record.channelName,jdbcType=VARCHAR},
|
|
|
crowd_segment = #{record.crowdSegment,jdbcType=VARCHAR},
|
|
|
+ channel_level3 = #{record.channelLevel3,jdbcType=VARCHAR},
|
|
|
demand_id = #{record.demandId,jdbcType=VARCHAR},
|
|
|
crowd_package = #{record.crowdPackage,jdbcType=VARCHAR},
|
|
|
conversion_target = #{record.conversionTarget,jdbcType=VARCHAR},
|
|
|
@@ -626,6 +639,9 @@
|
|
|
<if test="crowdSegment != null">
|
|
|
crowd_segment = #{crowdSegment,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="channelLevel3 != null">
|
|
|
+ channel_level3 = #{channelLevel3,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="demandId != null">
|
|
|
demand_id = #{demandId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -743,6 +759,7 @@
|
|
|
online_action = #{onlineAction,jdbcType=VARCHAR},
|
|
|
channel_name = #{channelName,jdbcType=VARCHAR},
|
|
|
crowd_segment = #{crowdSegment,jdbcType=VARCHAR},
|
|
|
+ channel_level3 = #{channelLevel3,jdbcType=VARCHAR},
|
|
|
demand_id = #{demandId,jdbcType=VARCHAR},
|
|
|
crowd_package = #{crowdPackage,jdbcType=VARCHAR},
|
|
|
conversion_target = #{conversionTarget,jdbcType=VARCHAR},
|