|
@@ -15,7 +15,7 @@
|
|
|
<result column="video" jdbcType="VARCHAR" property="video" />
|
|
<result column="video" jdbcType="VARCHAR" property="video" />
|
|
|
<result column="page_url" jdbcType="VARCHAR" property="pageUrl" />
|
|
<result column="page_url" jdbcType="VARCHAR" property="pageUrl" />
|
|
|
<result column="root_source_id" jdbcType="VARCHAR" property="rootSourceId" />
|
|
<result column="root_source_id" jdbcType="VARCHAR" property="rootSourceId" />
|
|
|
- <result column="match_experiment_id" jdbcType="VARCHAR" property="matchExperimentId" />
|
|
|
|
|
|
|
+ <result column="experiment_id" jdbcType="VARCHAR" property="experimentId" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="create_account_id" jdbcType="BIGINT" property="createAccountId" />
|
|
<result column="create_account_id" jdbcType="BIGINT" property="createAccountId" />
|
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
@@ -80,7 +80,7 @@
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
id, plan_id, video_id, title, custom_title_id, custom_title, cover, custom_cover_id,
|
|
id, plan_id, video_id, title, custom_title_id, custom_title, cover, custom_cover_id,
|
|
|
- custom_cover, custom_cover_type, video, page_url, root_source_id, match_experiment_id,
|
|
|
|
|
|
|
+ custom_cover, custom_cover_type, video, page_url, root_source_id, experiment_id,
|
|
|
`status`, create_account_id, create_timestamp
|
|
`status`, create_account_id, create_timestamp
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformGzhPlanVideoExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformGzhPlanVideoExample" resultMap="BaseResultMap">
|
|
@@ -121,13 +121,13 @@
|
|
|
title, custom_title_id, custom_title,
|
|
title, custom_title_id, custom_title,
|
|
|
cover, custom_cover_id, custom_cover,
|
|
cover, custom_cover_id, custom_cover,
|
|
|
custom_cover_type, video, page_url,
|
|
custom_cover_type, video, page_url,
|
|
|
- root_source_id, match_experiment_id, `status`,
|
|
|
|
|
|
|
+ root_source_id, experiment_id, `status`,
|
|
|
create_account_id, create_timestamp)
|
|
create_account_id, create_timestamp)
|
|
|
values (#{id,jdbcType=BIGINT}, #{planId,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT},
|
|
values (#{id,jdbcType=BIGINT}, #{planId,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT},
|
|
|
#{title,jdbcType=VARCHAR}, #{customTitleId,jdbcType=BIGINT}, #{customTitle,jdbcType=VARCHAR},
|
|
#{title,jdbcType=VARCHAR}, #{customTitleId,jdbcType=BIGINT}, #{customTitle,jdbcType=VARCHAR},
|
|
|
#{cover,jdbcType=VARCHAR}, #{customCoverId,jdbcType=BIGINT}, #{customCover,jdbcType=VARCHAR},
|
|
#{cover,jdbcType=VARCHAR}, #{customCoverId,jdbcType=BIGINT}, #{customCover,jdbcType=VARCHAR},
|
|
|
#{customCoverType,jdbcType=INTEGER}, #{video,jdbcType=VARCHAR}, #{pageUrl,jdbcType=VARCHAR},
|
|
#{customCoverType,jdbcType=INTEGER}, #{video,jdbcType=VARCHAR}, #{pageUrl,jdbcType=VARCHAR},
|
|
|
- #{rootSourceId,jdbcType=VARCHAR}, #{matchExperimentId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
|
|
|
|
|
|
|
+ #{rootSourceId,jdbcType=VARCHAR}, #{experimentId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
|
|
|
#{createAccountId,jdbcType=BIGINT}, #{createTimestamp,jdbcType=BIGINT})
|
|
#{createAccountId,jdbcType=BIGINT}, #{createTimestamp,jdbcType=BIGINT})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformGzhPlanVideo">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformGzhPlanVideo">
|
|
@@ -172,8 +172,8 @@
|
|
|
<if test="rootSourceId != null">
|
|
<if test="rootSourceId != null">
|
|
|
root_source_id,
|
|
root_source_id,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="matchExperimentId != null">
|
|
|
|
|
- match_experiment_id,
|
|
|
|
|
|
|
+ <if test="experimentId != null">
|
|
|
|
|
+ experiment_id,
|
|
|
</if>
|
|
</if>
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
|
`status`,
|
|
`status`,
|
|
@@ -225,8 +225,8 @@
|
|
|
<if test="rootSourceId != null">
|
|
<if test="rootSourceId != null">
|
|
|
#{rootSourceId,jdbcType=VARCHAR},
|
|
#{rootSourceId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="matchExperimentId != null">
|
|
|
|
|
- #{matchExperimentId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ <if test="experimentId != null">
|
|
|
|
|
+ #{experimentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=INTEGER},
|
|
#{status,jdbcType=INTEGER},
|
|
@@ -287,8 +287,8 @@
|
|
|
<if test="record.rootSourceId != null">
|
|
<if test="record.rootSourceId != null">
|
|
|
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="record.matchExperimentId != null">
|
|
|
|
|
- match_experiment_id = #{record.matchExperimentId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ <if test="record.experimentId != null">
|
|
|
|
|
+ experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="record.status != null">
|
|
<if test="record.status != null">
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
@@ -319,7 +319,7 @@
|
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
|
page_url = #{record.pageUrl,jdbcType=VARCHAR},
|
|
page_url = #{record.pageUrl,jdbcType=VARCHAR},
|
|
|
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
|
- match_experiment_id = #{record.matchExperimentId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ experiment_id = #{record.experimentId,jdbcType=VARCHAR},
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT}
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT}
|
|
@@ -366,8 +366,8 @@
|
|
|
<if test="rootSourceId != null">
|
|
<if test="rootSourceId != null">
|
|
|
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="matchExperimentId != null">
|
|
|
|
|
- match_experiment_id = #{matchExperimentId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ <if test="experimentId != null">
|
|
|
|
|
+ experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
@@ -395,7 +395,7 @@
|
|
|
video = #{video,jdbcType=VARCHAR},
|
|
video = #{video,jdbcType=VARCHAR},
|
|
|
page_url = #{pageUrl,jdbcType=VARCHAR},
|
|
page_url = #{pageUrl,jdbcType=VARCHAR},
|
|
|
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
|
- match_experiment_id = #{matchExperimentId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ experiment_id = #{experimentId,jdbcType=VARCHAR},
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT}
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT}
|