|
@@ -51,6 +51,7 @@
|
|
|
<result column="match_method" jdbcType="VARCHAR" property="matchMethod" />
|
|
<result column="match_method" jdbcType="VARCHAR" property="matchMethod" />
|
|
|
<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" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
<!--
|
|
@@ -130,7 +131,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
|
|
|
|
|
|
|
+ match_sort, scene_sum_rov
|
|
|
</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">
|
|
|
<!--
|
|
<!--
|
|
@@ -197,8 +198,8 @@
|
|
|
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
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ match_method, match_video_filter, match_sort,
|
|
|
|
|
+ scene_sum_rov)
|
|
|
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},
|
|
@@ -213,8 +214,8 @@
|
|
|
#{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}
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ #{matchMethod,jdbcType=VARCHAR}, #{matchVideoFilter,jdbcType=VARCHAR}, #{matchSort,jdbcType=VARCHAR},
|
|
|
|
|
+ #{sceneSumRov,jdbcType=DOUBLE})
|
|
|
</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">
|
|
|
<!--
|
|
<!--
|
|
@@ -355,6 +356,9 @@
|
|
|
<if test="matchSort != null">
|
|
<if test="matchSort != null">
|
|
|
match_sort,
|
|
match_sort,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="sceneSumRov != null">
|
|
|
|
|
+ scene_sum_rov,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="configId != null">
|
|
<if test="configId != null">
|
|
@@ -489,6 +493,9 @@
|
|
|
<if test="matchSort != null">
|
|
<if test="matchSort != null">
|
|
|
#{matchSort,jdbcType=VARCHAR},
|
|
#{matchSort,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="sceneSumRov != null">
|
|
|
|
|
+ #{sceneSumRov,jdbcType=DOUBLE},
|
|
|
|
|
+ </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">
|
|
@@ -643,6 +650,9 @@
|
|
|
<if test="record.matchSort != null">
|
|
<if test="record.matchSort != null">
|
|
|
match_sort = #{record.matchSort,jdbcType=VARCHAR},
|
|
match_sort = #{record.matchSort,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.sceneSumRov != null">
|
|
|
|
|
+ scene_sum_rov = #{record.sceneSumRov,jdbcType=DOUBLE},
|
|
|
|
|
+ </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" />
|
|
@@ -698,7 +708,8 @@
|
|
|
channel_median = #{record.channelMedian,jdbcType=DOUBLE},
|
|
channel_median = #{record.channelMedian,jdbcType=DOUBLE},
|
|
|
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}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
@@ -842,6 +853,9 @@
|
|
|
<if test="matchSort != null">
|
|
<if test="matchSort != null">
|
|
|
match_sort = #{matchSort,jdbcType=VARCHAR},
|
|
match_sort = #{matchSort,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="sceneSumRov != null">
|
|
|
|
|
+ scene_sum_rov = #{sceneSumRov,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
@@ -894,7 +908,8 @@
|
|
|
channel_median = #{channelMedian,jdbcType=DOUBLE},
|
|
channel_median = #{channelMedian,jdbcType=DOUBLE},
|
|
|
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}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|