|
@@ -52,6 +52,7 @@
|
|
|
<result column="match_video_filter" jdbcType="VARCHAR" property="matchVideoFilter" />
|
|
<result column="match_video_filter" jdbcType="VARCHAR" property="matchVideoFilter" />
|
|
|
<result column="match_sort" jdbcType="VARCHAR" property="matchSort" />
|
|
<result column="match_sort" jdbcType="VARCHAR" property="matchSort" />
|
|
|
<result column="scene_sum_rov" jdbcType="DOUBLE" property="sceneSumRov" />
|
|
<result column="scene_sum_rov" jdbcType="DOUBLE" property="sceneSumRov" />
|
|
|
|
|
+ <result column="match_exposure_pv" jdbcType="BIGINT" property="matchExposurePv" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
<!--
|
|
@@ -131,7 +132,7 @@
|
|
|
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_sort, scene_sum_rov, match_exposure_pv
|
|
|
</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">
|
|
|
<!--
|
|
<!--
|
|
@@ -199,7 +200,7 @@
|
|
|
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,
|
|
match_method, match_video_filter, match_sort,
|
|
|
- scene_sum_rov)
|
|
|
|
|
|
|
+ scene_sum_rov, match_exposure_pv)
|
|
|
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},
|
|
@@ -215,7 +216,7 @@
|
|
|
#{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},
|
|
#{matchMethod,jdbcType=VARCHAR}, #{matchVideoFilter,jdbcType=VARCHAR}, #{matchSort,jdbcType=VARCHAR},
|
|
|
- #{sceneSumRov,jdbcType=DOUBLE})
|
|
|
|
|
|
|
+ #{sceneSumRov,jdbcType=DOUBLE}, #{matchExposurePv,jdbcType=BIGINT})
|
|
|
</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">
|
|
|
<!--
|
|
<!--
|
|
@@ -359,6 +360,9 @@
|
|
|
<if test="sceneSumRov != null">
|
|
<if test="sceneSumRov != null">
|
|
|
scene_sum_rov,
|
|
scene_sum_rov,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchExposurePv != null">
|
|
|
|
|
+ match_exposure_pv,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="configId != null">
|
|
<if test="configId != null">
|
|
@@ -496,6 +500,9 @@
|
|
|
<if test="sceneSumRov != null">
|
|
<if test="sceneSumRov != null">
|
|
|
#{sceneSumRov,jdbcType=DOUBLE},
|
|
#{sceneSumRov,jdbcType=DOUBLE},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchExposurePv != null">
|
|
|
|
|
+ #{matchExposurePv,jdbcType=BIGINT},
|
|
|
|
|
+ </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">
|
|
@@ -653,6 +660,9 @@
|
|
|
<if test="record.sceneSumRov != null">
|
|
<if test="record.sceneSumRov != null">
|
|
|
scene_sum_rov = #{record.sceneSumRov,jdbcType=DOUBLE},
|
|
scene_sum_rov = #{record.sceneSumRov,jdbcType=DOUBLE},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.matchExposurePv != null">
|
|
|
|
|
+ match_exposure_pv = #{record.matchExposurePv,jdbcType=BIGINT},
|
|
|
|
|
+ </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" />
|
|
@@ -709,7 +719,8 @@
|
|
|
match_method = #{record.matchMethod,jdbcType=VARCHAR},
|
|
match_method = #{record.matchMethod,jdbcType=VARCHAR},
|
|
|
match_video_filter = #{record.matchVideoFilter,jdbcType=VARCHAR},
|
|
match_video_filter = #{record.matchVideoFilter,jdbcType=VARCHAR},
|
|
|
match_sort = #{record.matchSort,jdbcType=VARCHAR},
|
|
match_sort = #{record.matchSort,jdbcType=VARCHAR},
|
|
|
- scene_sum_rov = #{record.sceneSumRov,jdbcType=DOUBLE}
|
|
|
|
|
|
|
+ scene_sum_rov = #{record.sceneSumRov,jdbcType=DOUBLE},
|
|
|
|
|
+ match_exposure_pv = #{record.matchExposurePv,jdbcType=BIGINT}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
@@ -856,6 +867,9 @@
|
|
|
<if test="sceneSumRov != null">
|
|
<if test="sceneSumRov != null">
|
|
|
scene_sum_rov = #{sceneSumRov,jdbcType=DOUBLE},
|
|
scene_sum_rov = #{sceneSumRov,jdbcType=DOUBLE},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="matchExposurePv != null">
|
|
|
|
|
+ match_exposure_pv = #{matchExposurePv,jdbcType=BIGINT},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
@@ -909,7 +923,8 @@
|
|
|
match_method = #{matchMethod,jdbcType=VARCHAR},
|
|
match_method = #{matchMethod,jdbcType=VARCHAR},
|
|
|
match_video_filter = #{matchVideoFilter,jdbcType=VARCHAR},
|
|
match_video_filter = #{matchVideoFilter,jdbcType=VARCHAR},
|
|
|
match_sort = #{matchSort,jdbcType=VARCHAR},
|
|
match_sort = #{matchSort,jdbcType=VARCHAR},
|
|
|
- scene_sum_rov = #{sceneSumRov,jdbcType=DOUBLE}
|
|
|
|
|
|
|
+ scene_sum_rov = #{sceneSumRov,jdbcType=DOUBLE},
|
|
|
|
|
+ match_exposure_pv = #{matchExposurePv,jdbcType=BIGINT}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|