|
@@ -11,6 +11,7 @@
|
|
|
<result column="custom_cover" jdbcType="VARCHAR" property="customCover" />
|
|
<result column="custom_cover" jdbcType="VARCHAR" property="customCover" />
|
|
|
<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="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>
|
|
@@ -74,7 +75,7 @@
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
id, plan_id, video_id, title, custom_title, cover, custom_cover, custom_cover_type,
|
|
id, plan_id, video_id, title, custom_title, cover, custom_cover, custom_cover_type,
|
|
|
- video, create_account_id, create_timestamp
|
|
|
|
|
|
|
+ video, page_url, 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
|
|
@@ -113,11 +114,13 @@
|
|
|
insert into content_platform_gzh_plan_video (id, plan_id, video_id,
|
|
insert into content_platform_gzh_plan_video (id, plan_id, video_id,
|
|
|
title, custom_title, cover,
|
|
title, custom_title, cover,
|
|
|
custom_cover, custom_cover_type, video,
|
|
custom_cover, custom_cover_type, video,
|
|
|
- create_account_id, create_timestamp)
|
|
|
|
|
|
|
+ page_url, 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}, #{customTitle,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR},
|
|
#{title,jdbcType=VARCHAR}, #{customTitle,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR},
|
|
|
#{customCover,jdbcType=VARCHAR}, #{customCoverType,jdbcType=INTEGER}, #{video,jdbcType=VARCHAR},
|
|
#{customCover,jdbcType=VARCHAR}, #{customCoverType,jdbcType=INTEGER}, #{video,jdbcType=VARCHAR},
|
|
|
- #{createAccountId,jdbcType=BIGINT}, #{createTimestamp,jdbcType=BIGINT})
|
|
|
|
|
|
|
+ #{pageUrl,jdbcType=VARCHAR}, #{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
|
|
@@ -149,6 +152,9 @@
|
|
|
<if test="video != null">
|
|
<if test="video != null">
|
|
|
video,
|
|
video,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="pageUrl != null">
|
|
|
|
|
+ page_url,
|
|
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
<if test="createAccountId != null">
|
|
|
create_account_id,
|
|
create_account_id,
|
|
|
</if>
|
|
</if>
|
|
@@ -184,6 +190,9 @@
|
|
|
<if test="video != null">
|
|
<if test="video != null">
|
|
|
#{video,jdbcType=VARCHAR},
|
|
#{video,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="pageUrl != null">
|
|
|
|
|
+ #{pageUrl,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
<if test="createAccountId != null">
|
|
|
#{createAccountId,jdbcType=BIGINT},
|
|
#{createAccountId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -228,6 +237,9 @@
|
|
|
<if test="record.video != null">
|
|
<if test="record.video != null">
|
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.pageUrl != null">
|
|
|
|
|
+ page_url = #{record.pageUrl,jdbcType=VARCHAR},
|
|
|
|
|
+ </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>
|
|
@@ -250,6 +262,7 @@
|
|
|
custom_cover = #{record.customCover,jdbcType=VARCHAR},
|
|
custom_cover = #{record.customCover,jdbcType=VARCHAR},
|
|
|
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},
|
|
|
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">
|
|
@@ -283,6 +296,9 @@
|
|
|
<if test="video != null">
|
|
<if test="video != null">
|
|
|
video = #{video,jdbcType=VARCHAR},
|
|
video = #{video,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="pageUrl != null">
|
|
|
|
|
+ page_url = #{pageUrl,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
<if test="createAccountId != null">
|
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -302,6 +318,7 @@
|
|
|
custom_cover = #{customCover,jdbcType=VARCHAR},
|
|
custom_cover = #{customCover,jdbcType=VARCHAR},
|
|
|
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},
|
|
|
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}
|