|
@@ -48,6 +48,9 @@
|
|
|
<result column="channel_level3" jdbcType="VARCHAR" property="channelLevel3" />
|
|
<result column="channel_level3" jdbcType="VARCHAR" property="channelLevel3" />
|
|
|
<result column="element_dimension" jdbcType="VARCHAR" property="elementDimension" />
|
|
<result column="element_dimension" jdbcType="VARCHAR" property="elementDimension" />
|
|
|
<result column="channel_median" jdbcType="DOUBLE" property="channelMedian" />
|
|
<result column="channel_median" jdbcType="DOUBLE" property="channelMedian" />
|
|
|
|
|
+ <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" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
<!--
|
|
@@ -126,7 +129,8 @@
|
|
|
online_action, match_experiment_id, demand_id, crowd_package, conversion_target,
|
|
online_action, match_experiment_id, demand_id, crowd_package, conversion_target,
|
|
|
partner, account, scene_value, demand_strategy, drive_dimension_time, demand_filter_sort_strategy,
|
|
partner, account, scene_value, demand_strategy, drive_dimension_time, demand_filter_sort_strategy,
|
|
|
demand_type, demand_content_id, demand_content_title, demand_content_topic, uv_ratio,
|
|
demand_type, demand_content_id, demand_content_title, demand_content_topic, uv_ratio,
|
|
|
- experiment_id, channel_level3, element_dimension, channel_median
|
|
|
|
|
|
|
+ experiment_id, channel_level3, element_dimension, channel_median, match_method, match_video_filter,
|
|
|
|
|
+ match_sort
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.videoVector.model.po.pgVector.ChannelDemandMatchResultExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.videoVector.model.po.pgVector.ChannelDemandMatchResultExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
<!--
|
|
@@ -192,7 +196,8 @@
|
|
|
drive_dimension_time, demand_filter_sort_strategy,
|
|
drive_dimension_time, demand_filter_sort_strategy,
|
|
|
demand_type, demand_content_id, demand_content_title,
|
|
demand_type, demand_content_id, demand_content_title,
|
|
|
demand_content_topic, uv_ratio, experiment_id,
|
|
demand_content_topic, uv_ratio, experiment_id,
|
|
|
- channel_level3, element_dimension, channel_median
|
|
|
|
|
|
|
+ channel_level3, element_dimension, channel_median,
|
|
|
|
|
+ match_method, match_video_filter, match_sort
|
|
|
)
|
|
)
|
|
|
values (#{configId,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{channelName,jdbcType=VARCHAR},
|
|
values (#{configId,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{channelName,jdbcType=VARCHAR},
|
|
|
#{crowdSegment,jdbcType=VARCHAR}, #{dimension,jdbcType=VARCHAR}, #{pointType,jdbcType=VARCHAR},
|
|
#{crowdSegment,jdbcType=VARCHAR}, #{dimension,jdbcType=VARCHAR}, #{pointType,jdbcType=VARCHAR},
|
|
@@ -207,7 +212,8 @@
|
|
|
#{driveDimensionTime,jdbcType=VARCHAR}, #{demandFilterSortStrategy,jdbcType=VARCHAR},
|
|
#{driveDimensionTime,jdbcType=VARCHAR}, #{demandFilterSortStrategy,jdbcType=VARCHAR},
|
|
|
#{demandType,jdbcType=VARCHAR}, #{demandContentId,jdbcType=VARCHAR}, #{demandContentTitle,jdbcType=VARCHAR},
|
|
#{demandType,jdbcType=VARCHAR}, #{demandContentId,jdbcType=VARCHAR}, #{demandContentTitle,jdbcType=VARCHAR},
|
|
|
#{demandContentTopic,jdbcType=VARCHAR}, #{uvRatio,jdbcType=DOUBLE}, #{experimentId,jdbcType=VARCHAR},
|
|
#{demandContentTopic,jdbcType=VARCHAR}, #{uvRatio,jdbcType=DOUBLE}, #{experimentId,jdbcType=VARCHAR},
|
|
|
- #{channelLevel3,jdbcType=VARCHAR}, #{elementDimension,jdbcType=VARCHAR}, #{channelMedian,jdbcType=DOUBLE}
|
|
|
|
|
|
|
+ #{channelLevel3,jdbcType=VARCHAR}, #{elementDimension,jdbcType=VARCHAR}, #{channelMedian,jdbcType=DOUBLE},
|
|
|
|
|
+ #{matchMethod,jdbcType=VARCHAR}, #{matchVideoFilter,jdbcType=VARCHAR}, #{matchSort,jdbcType=VARCHAR}
|
|
|
)
|
|
)
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.tzld.videoVector.model.po.pgVector.ChannelDemandMatchResult" useGeneratedKeys="true">
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.tzld.videoVector.model.po.pgVector.ChannelDemandMatchResult" useGeneratedKeys="true">
|
|
@@ -340,6 +346,15 @@
|
|
|
<if test="channelMedian != null">
|
|
<if test="channelMedian != null">
|
|
|
channel_median,
|
|
channel_median,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchMethod != null">
|
|
|
|
|
+ match_method,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchVideoFilter != null">
|
|
|
|
|
+ match_video_filter,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchSort != null">
|
|
|
|
|
+ match_sort,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="configId != null">
|
|
<if test="configId != null">
|
|
@@ -465,6 +480,15 @@
|
|
|
<if test="channelMedian != null">
|
|
<if test="channelMedian != null">
|
|
|
#{channelMedian,jdbcType=DOUBLE},
|
|
#{channelMedian,jdbcType=DOUBLE},
|
|
|
</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>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.tzld.videoVector.model.po.pgVector.ChannelDemandMatchResultExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="com.tzld.videoVector.model.po.pgVector.ChannelDemandMatchResultExample" resultType="java.lang.Long">
|
|
@@ -610,6 +634,15 @@
|
|
|
<if test="record.channelMedian != null">
|
|
<if test="record.channelMedian != null">
|
|
|
channel_median = #{record.channelMedian,jdbcType=DOUBLE},
|
|
channel_median = #{record.channelMedian,jdbcType=DOUBLE},
|
|
|
</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>
|
|
|
</set>
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -662,7 +695,10 @@
|
|
|
experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
|
channel_level3 = #{record.channelLevel3,jdbcType=VARCHAR},
|
|
channel_level3 = #{record.channelLevel3,jdbcType=VARCHAR},
|
|
|
element_dimension = #{record.elementDimension,jdbcType=VARCHAR},
|
|
element_dimension = #{record.elementDimension,jdbcType=VARCHAR},
|
|
|
- channel_median = #{record.channelMedian,jdbcType=DOUBLE}
|
|
|
|
|
|
|
+ channel_median = #{record.channelMedian,jdbcType=DOUBLE},
|
|
|
|
|
+ match_method = #{record.matchMethod,jdbcType=VARCHAR},
|
|
|
|
|
+ match_video_filter = #{record.matchVideoFilter,jdbcType=VARCHAR},
|
|
|
|
|
+ match_sort = #{record.matchSort,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>
|
|
@@ -797,6 +833,15 @@
|
|
|
<if test="channelMedian != null">
|
|
<if test="channelMedian != null">
|
|
|
channel_median = #{channelMedian,jdbcType=DOUBLE},
|
|
channel_median = #{channelMedian,jdbcType=DOUBLE},
|
|
|
</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>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
@@ -846,7 +891,10 @@
|
|
|
experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
|
channel_level3 = #{channelLevel3,jdbcType=VARCHAR},
|
|
channel_level3 = #{channelLevel3,jdbcType=VARCHAR},
|
|
|
element_dimension = #{elementDimension,jdbcType=VARCHAR},
|
|
element_dimension = #{elementDimension,jdbcType=VARCHAR},
|
|
|
- channel_median = #{channelMedian,jdbcType=DOUBLE}
|
|
|
|
|
|
|
+ channel_median = #{channelMedian,jdbcType=DOUBLE},
|
|
|
|
|
+ match_method = #{matchMethod,jdbcType=VARCHAR},
|
|
|
|
|
+ match_video_filter = #{matchVideoFilter,jdbcType=VARCHAR},
|
|
|
|
|
+ match_sort = #{matchSort,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|