|
|
@@ -45,6 +45,7 @@
|
|
|
<result column="demand_content_topic" jdbcType="VARCHAR" property="demandContentTopic" />
|
|
|
<result column="uv_ratio" jdbcType="DOUBLE" property="uvRatio" />
|
|
|
<result column="experiment_id" jdbcType="VARCHAR" property="experimentId" />
|
|
|
+ <result column="channel_level3" jdbcType="VARCHAR" property="channelLevel3" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
@@ -123,7 +124,7 @@
|
|
|
online_action, match_experiment_id, demand_id, crowd_package, conversion_target,
|
|
|
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,
|
|
|
- experiment_id
|
|
|
+ experiment_id, channel_level3
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.videoVector.model.po.pgVector.ChannelDemandMatchResultExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
@@ -188,8 +189,8 @@
|
|
|
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, experiment_id
|
|
|
- )
|
|
|
+ demand_content_topic, uv_ratio, experiment_id,
|
|
|
+ channel_level3)
|
|
|
values (#{configId,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{channelName,jdbcType=VARCHAR},
|
|
|
#{crowdSegment,jdbcType=VARCHAR}, #{dimension,jdbcType=VARCHAR}, #{pointType,jdbcType=VARCHAR},
|
|
|
#{standardElement,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{crowdCount,jdbcType=INTEGER},
|
|
|
@@ -202,8 +203,8 @@
|
|
|
#{account,jdbcType=VARCHAR}, #{sceneValue,jdbcType=VARCHAR}, #{demandStrategy,jdbcType=VARCHAR},
|
|
|
#{driveDimensionTime,jdbcType=VARCHAR}, #{demandFilterSortStrategy,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})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.tzld.videoVector.model.po.pgVector.ChannelDemandMatchResult" useGeneratedKeys="true">
|
|
|
<!--
|
|
|
@@ -326,6 +327,9 @@
|
|
|
<if test="experimentId != null">
|
|
|
experiment_id,
|
|
|
</if>
|
|
|
+ <if test="channelLevel3 != null">
|
|
|
+ channel_level3,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="configId != null">
|
|
|
@@ -442,6 +446,9 @@
|
|
|
<if test="experimentId != null">
|
|
|
#{experimentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="channelLevel3 != null">
|
|
|
+ #{channelLevel3,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.tzld.videoVector.model.po.pgVector.ChannelDemandMatchResultExample" resultType="java.lang.Long">
|
|
|
@@ -578,6 +585,9 @@
|
|
|
<if test="record.experimentId != null">
|
|
|
experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.channelLevel3 != null">
|
|
|
+ channel_level3 = #{record.channelLevel3,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -627,7 +637,8 @@
|
|
|
demand_content_title = #{record.demandContentTitle,jdbcType=VARCHAR},
|
|
|
demand_content_topic = #{record.demandContentTopic,jdbcType=VARCHAR},
|
|
|
uv_ratio = #{record.uvRatio,jdbcType=DOUBLE},
|
|
|
- experiment_id = #{record.experimentId,jdbcType=VARCHAR}
|
|
|
+ experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
|
+ channel_level3 = #{record.channelLevel3,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
@@ -753,6 +764,9 @@
|
|
|
<if test="experimentId != null">
|
|
|
experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="channelLevel3 != null">
|
|
|
+ channel_level3 = #{channelLevel3,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
@@ -799,7 +813,8 @@
|
|
|
demand_content_title = #{demandContentTitle,jdbcType=VARCHAR},
|
|
|
demand_content_topic = #{demandContentTopic,jdbcType=VARCHAR},
|
|
|
uv_ratio = #{uvRatio,jdbcType=DOUBLE},
|
|
|
- experiment_id = #{experimentId,jdbcType=VARCHAR}
|
|
|
+ experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
|
+ channel_level3 = #{channelLevel3,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
</mapper>
|