|
|
@@ -39,6 +39,7 @@
|
|
|
<result column="title" jdbcType="VARCHAR" property="title" />
|
|
|
<result column="cover" jdbcType="VARCHAR" property="cover" />
|
|
|
<result column="video" jdbcType="VARCHAR" property="video" />
|
|
|
+ <result column="experiment_id" jdbcType="VARCHAR" property="experimentId" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
|
<result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
|
|
|
@@ -107,7 +108,8 @@
|
|
|
demand_filter_sort_strategy, demand_type, demand_content_id, demand_content_title,
|
|
|
demand_content_topic, point_type, standard_element, category_name, crowd_count, video_count,
|
|
|
visit_uv, uv_ratio, total_rov, match_experiment_id, video_id, config_code, score,
|
|
|
- sim, rov, match_text, title, cover, video, `status`, create_timestamp, update_timestamp
|
|
|
+ sim, rov, match_text, title, cover, video, experiment_id, `status`, create_timestamp,
|
|
|
+ update_timestamp
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideoExample" resultMap="BaseResultMap">
|
|
|
select
|
|
|
@@ -155,8 +157,8 @@
|
|
|
match_experiment_id, video_id, config_code,
|
|
|
score, sim, rov, match_text,
|
|
|
title, cover, video,
|
|
|
- `status`, create_timestamp, update_timestamp
|
|
|
- )
|
|
|
+ experiment_id, `status`, create_timestamp,
|
|
|
+ update_timestamp)
|
|
|
values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{onlineAction,jdbcType=VARCHAR},
|
|
|
#{channelName,jdbcType=VARCHAR}, #{crowdSegment,jdbcType=VARCHAR}, #{demandId,jdbcType=VARCHAR},
|
|
|
#{crowdPackage,jdbcType=VARCHAR}, #{conversionTarget,jdbcType=VARCHAR}, #{partner,jdbcType=VARCHAR},
|
|
|
@@ -169,8 +171,8 @@
|
|
|
#{matchExperimentId,jdbcType=VARCHAR}, #{videoId,jdbcType=BIGINT}, #{configCode,jdbcType=VARCHAR},
|
|
|
#{score,jdbcType=DOUBLE}, #{sim,jdbcType=DOUBLE}, #{rov,jdbcType=DOUBLE}, #{matchText,jdbcType=VARCHAR},
|
|
|
#{title,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR},
|
|
|
- #{status,jdbcType=INTEGER}, #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT}
|
|
|
- )
|
|
|
+ #{experimentId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTimestamp,jdbcType=BIGINT},
|
|
|
+ #{updateTimestamp,jdbcType=BIGINT})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
|
|
|
insert into content_platform_demand_video
|
|
|
@@ -286,6 +288,9 @@
|
|
|
<if test="video != null">
|
|
|
video,
|
|
|
</if>
|
|
|
+ <if test="experimentId != null">
|
|
|
+ experiment_id,
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
`status`,
|
|
|
</if>
|
|
|
@@ -408,6 +413,9 @@
|
|
|
<if test="video != null">
|
|
|
#{video,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="experimentId != null">
|
|
|
+ #{experimentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -539,6 +547,9 @@
|
|
|
<if test="record.video != null">
|
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.experimentId != null">
|
|
|
+ experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.status != null">
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -592,6 +603,7 @@
|
|
|
title = #{record.title,jdbcType=VARCHAR},
|
|
|
cover = #{record.cover,jdbcType=VARCHAR},
|
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
|
+ experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT}
|
|
|
@@ -710,6 +722,9 @@
|
|
|
<if test="video != null">
|
|
|
video = #{video,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="experimentId != null">
|
|
|
+ experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -760,6 +775,7 @@
|
|
|
title = #{title,jdbcType=VARCHAR},
|
|
|
cover = #{cover,jdbcType=VARCHAR},
|
|
|
video = #{video,jdbcType=VARCHAR},
|
|
|
+ experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT}
|