|
@@ -14,6 +14,8 @@
|
|
|
<result column="custom_cover_type" jdbcType="INTEGER" property="customCoverType" />
|
|
<result column="custom_cover_type" jdbcType="INTEGER" property="customCoverType" />
|
|
|
<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="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" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
@@ -77,7 +79,8 @@
|
|
|
</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, create_account_id, create_timestamp
|
|
|
|
|
|
|
+ custom_cover, custom_cover_type, video, page_url, root_source_id, `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">
|
|
|
select
|
|
select
|
|
@@ -117,14 +120,14 @@
|
|
|
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,
|
|
|
- create_account_id, create_timestamp
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ root_source_id, `status`, 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},
|
|
|
- #{createAccountId,jdbcType=BIGINT}, #{createTimestamp,jdbcType=BIGINT}
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ #{rootSourceId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{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">
|
|
|
insert into content_platform_gzh_plan_video
|
|
insert into content_platform_gzh_plan_video
|
|
@@ -165,6 +168,12 @@
|
|
|
<if test="pageUrl != null">
|
|
<if test="pageUrl != null">
|
|
|
page_url,
|
|
page_url,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="rootSourceId != null">
|
|
|
|
|
+ root_source_id,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="status != null">
|
|
|
|
|
+ `status`,
|
|
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
<if test="createAccountId != null">
|
|
|
create_account_id,
|
|
create_account_id,
|
|
|
</if>
|
|
</if>
|
|
@@ -209,6 +218,12 @@
|
|
|
<if test="pageUrl != null">
|
|
<if test="pageUrl != null">
|
|
|
#{pageUrl,jdbcType=VARCHAR},
|
|
#{pageUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="rootSourceId != null">
|
|
|
|
|
+ #{rootSourceId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="status != null">
|
|
|
|
|
+ #{status,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
<if test="createAccountId != null">
|
|
|
#{createAccountId,jdbcType=BIGINT},
|
|
#{createAccountId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -262,6 +277,12 @@
|
|
|
<if test="record.pageUrl != null">
|
|
<if test="record.pageUrl != null">
|
|
|
page_url = #{record.pageUrl,jdbcType=VARCHAR},
|
|
page_url = #{record.pageUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.rootSourceId != null">
|
|
|
|
|
+ root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.status != null">
|
|
|
|
|
+ `status` = #{record.status,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
<if test="record.createAccountId != null">
|
|
<if test="record.createAccountId != null">
|
|
|
create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -287,6 +308,8 @@
|
|
|
custom_cover_type = #{record.customCoverType,jdbcType=INTEGER},
|
|
custom_cover_type = #{record.customCoverType,jdbcType=INTEGER},
|
|
|
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},
|
|
|
|
|
+ `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}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
@@ -329,6 +352,12 @@
|
|
|
<if test="pageUrl != null">
|
|
<if test="pageUrl != null">
|
|
|
page_url = #{pageUrl,jdbcType=VARCHAR},
|
|
page_url = #{pageUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="rootSourceId != null">
|
|
|
|
|
+ root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="status != null">
|
|
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
<if test="createAccountId != null">
|
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -351,6 +380,8 @@
|
|
|
custom_cover_type = #{customCoverType,jdbcType=INTEGER},
|
|
custom_cover_type = #{customCoverType,jdbcType=INTEGER},
|
|
|
video = #{video,jdbcType=VARCHAR},
|
|
video = #{video,jdbcType=VARCHAR},
|
|
|
page_url = #{pageUrl,jdbcType=VARCHAR},
|
|
page_url = #{pageUrl,jdbcType=VARCHAR},
|
|
|
|
|
+ root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
|
|
|
+ `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}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|