|
@@ -55,6 +55,8 @@
|
|
|
<result column="match_exposure_pv" jdbcType="BIGINT" property="matchExposurePv" />
|
|
<result column="match_exposure_pv" jdbcType="BIGINT" property="matchExposurePv" />
|
|
|
<result column="match_head_single_return_rate" jdbcType="DOUBLE" property="matchHeadSingleReturnRate" />
|
|
<result column="match_head_single_return_rate" jdbcType="DOUBLE" property="matchHeadSingleReturnRate" />
|
|
|
<result column="match_head_distribution_single_return_rate" jdbcType="DOUBLE" property="matchHeadDistributionSingleReturnRate" />
|
|
<result column="match_head_distribution_single_return_rate" jdbcType="DOUBLE" property="matchHeadDistributionSingleReturnRate" />
|
|
|
|
|
+ <result column="match_generalized_element" jdbcType="VARCHAR" property="matchGeneralizedElement" />
|
|
|
|
|
+ <result column="match_generalized_point_type" jdbcType="VARCHAR" property="matchGeneralizedPointType" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
<!--
|
|
@@ -134,7 +136,8 @@
|
|
|
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, match_method, match_video_filter,
|
|
experiment_id, channel_level3, element_dimension, channel_median, match_method, match_video_filter,
|
|
|
- match_sort, scene_sum_rov, match_exposure_pv, match_head_single_return_rate, match_head_distribution_single_return_rate
|
|
|
|
|
|
|
+ match_sort, scene_sum_rov, match_exposure_pv, match_head_single_return_rate, match_head_distribution_single_return_rate,
|
|
|
|
|
+ match_generalized_element, match_generalized_point_type
|
|
|
</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">
|
|
|
<!--
|
|
<!--
|
|
@@ -203,7 +206,8 @@
|
|
|
channel_level3, element_dimension, channel_median,
|
|
channel_level3, element_dimension, channel_median,
|
|
|
match_method, match_video_filter, match_sort,
|
|
match_method, match_video_filter, match_sort,
|
|
|
scene_sum_rov, match_exposure_pv, match_head_single_return_rate,
|
|
scene_sum_rov, match_exposure_pv, match_head_single_return_rate,
|
|
|
- match_head_distribution_single_return_rate)
|
|
|
|
|
|
|
+ match_head_distribution_single_return_rate, match_generalized_element,
|
|
|
|
|
+ match_generalized_point_type)
|
|
|
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},
|
|
|
#{standardElement,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{crowdCount,jdbcType=INTEGER},
|
|
#{standardElement,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{crowdCount,jdbcType=INTEGER},
|
|
@@ -220,7 +224,8 @@
|
|
|
#{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},
|
|
#{matchMethod,jdbcType=VARCHAR}, #{matchVideoFilter,jdbcType=VARCHAR}, #{matchSort,jdbcType=VARCHAR},
|
|
|
#{sceneSumRov,jdbcType=DOUBLE}, #{matchExposurePv,jdbcType=BIGINT}, #{matchHeadSingleReturnRate,jdbcType=DOUBLE},
|
|
#{sceneSumRov,jdbcType=DOUBLE}, #{matchExposurePv,jdbcType=BIGINT}, #{matchHeadSingleReturnRate,jdbcType=DOUBLE},
|
|
|
- #{matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE})
|
|
|
|
|
|
|
+ #{matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE}, #{matchGeneralizedElement,jdbcType=VARCHAR},
|
|
|
|
|
+ #{matchGeneralizedPointType,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">
|
|
|
<!--
|
|
<!--
|
|
@@ -373,6 +378,12 @@
|
|
|
<if test="matchHeadDistributionSingleReturnRate != null">
|
|
<if test="matchHeadDistributionSingleReturnRate != null">
|
|
|
match_head_distribution_single_return_rate,
|
|
match_head_distribution_single_return_rate,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchGeneralizedElement != null">
|
|
|
|
|
+ match_generalized_element,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchGeneralizedPointType != null">
|
|
|
|
|
+ match_generalized_point_type,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="configId != null">
|
|
<if test="configId != null">
|
|
@@ -519,6 +530,12 @@
|
|
|
<if test="matchHeadDistributionSingleReturnRate != null">
|
|
<if test="matchHeadDistributionSingleReturnRate != null">
|
|
|
#{matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE},
|
|
#{matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchGeneralizedElement != null">
|
|
|
|
|
+ #{matchGeneralizedElement,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchGeneralizedPointType != null">
|
|
|
|
|
+ #{matchGeneralizedPointType,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">
|
|
@@ -685,6 +702,12 @@
|
|
|
<if test="record.matchHeadDistributionSingleReturnRate != null">
|
|
<if test="record.matchHeadDistributionSingleReturnRate != null">
|
|
|
match_head_distribution_single_return_rate = #{record.matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE},
|
|
match_head_distribution_single_return_rate = #{record.matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.matchGeneralizedElement != null">
|
|
|
|
|
+ match_generalized_element = #{record.matchGeneralizedElement,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.matchGeneralizedPointType != null">
|
|
|
|
|
+ match_generalized_point_type = #{record.matchGeneralizedPointType,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" />
|
|
@@ -744,7 +767,9 @@
|
|
|
scene_sum_rov = #{record.sceneSumRov,jdbcType=DOUBLE},
|
|
scene_sum_rov = #{record.sceneSumRov,jdbcType=DOUBLE},
|
|
|
match_exposure_pv = #{record.matchExposurePv,jdbcType=BIGINT},
|
|
match_exposure_pv = #{record.matchExposurePv,jdbcType=BIGINT},
|
|
|
match_head_single_return_rate = #{record.matchHeadSingleReturnRate,jdbcType=DOUBLE},
|
|
match_head_single_return_rate = #{record.matchHeadSingleReturnRate,jdbcType=DOUBLE},
|
|
|
- match_head_distribution_single_return_rate = #{record.matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE}
|
|
|
|
|
|
|
+ match_head_distribution_single_return_rate = #{record.matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE},
|
|
|
|
|
+ match_generalized_element = #{record.matchGeneralizedElement,jdbcType=VARCHAR},
|
|
|
|
|
+ match_generalized_point_type = #{record.matchGeneralizedPointType,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>
|
|
@@ -900,6 +925,12 @@
|
|
|
<if test="matchHeadDistributionSingleReturnRate != null">
|
|
<if test="matchHeadDistributionSingleReturnRate != null">
|
|
|
match_head_distribution_single_return_rate = #{matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE},
|
|
match_head_distribution_single_return_rate = #{matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchGeneralizedElement != null">
|
|
|
|
|
+ match_generalized_element = #{matchGeneralizedElement,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="matchGeneralizedPointType != null">
|
|
|
|
|
+ match_generalized_point_type = #{matchGeneralizedPointType,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
@@ -956,7 +987,9 @@
|
|
|
scene_sum_rov = #{sceneSumRov,jdbcType=DOUBLE},
|
|
scene_sum_rov = #{sceneSumRov,jdbcType=DOUBLE},
|
|
|
match_exposure_pv = #{matchExposurePv,jdbcType=BIGINT},
|
|
match_exposure_pv = #{matchExposurePv,jdbcType=BIGINT},
|
|
|
match_head_single_return_rate = #{matchHeadSingleReturnRate,jdbcType=DOUBLE},
|
|
match_head_single_return_rate = #{matchHeadSingleReturnRate,jdbcType=DOUBLE},
|
|
|
- match_head_distribution_single_return_rate = #{matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE}
|
|
|
|
|
|
|
+ match_head_distribution_single_return_rate = #{matchHeadDistributionSingleReturnRate,jdbcType=DOUBLE},
|
|
|
|
|
+ match_generalized_element = #{matchGeneralizedElement,jdbcType=VARCHAR},
|
|
|
|
|
+ match_generalized_point_type = #{matchGeneralizedPointType,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|