|
@@ -6,9 +6,10 @@
|
|
<result column="plan_id" jdbcType="BIGINT" property="planId" />
|
|
<result column="plan_id" jdbcType="BIGINT" property="planId" />
|
|
<result column="video_id" jdbcType="BIGINT" property="videoId" />
|
|
<result column="video_id" jdbcType="BIGINT" property="videoId" />
|
|
<result column="title" jdbcType="VARCHAR" property="title" />
|
|
<result column="title" jdbcType="VARCHAR" property="title" />
|
|
- <result column="title_is_update" jdbcType="INTEGER" property="titleIsUpdate" />
|
|
|
|
|
|
+ <result column="custom_title" jdbcType="VARCHAR" property="customTitle" />
|
|
<result column="cover" jdbcType="VARCHAR" property="cover" />
|
|
<result column="cover" jdbcType="VARCHAR" property="cover" />
|
|
- <result column="cover_is_update" jdbcType="INTEGER" property="coverIsUpdate" />
|
|
|
|
|
|
+ <result column="custom_cover" jdbcType="VARCHAR" property="customCover" />
|
|
|
|
+ <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="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" />
|
|
@@ -72,8 +73,8 @@
|
|
</where>
|
|
</where>
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
- id, plan_id, video_id, title, title_is_update, cover, cover_is_update, video, create_account_id,
|
|
|
|
- create_timestamp
|
|
|
|
|
|
+ id, plan_id, video_id, title, custom_title, cover, custom_cover, custom_cover_type,
|
|
|
|
+ video, 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
|
|
@@ -110,13 +111,13 @@
|
|
</delete>
|
|
</delete>
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformGzhPlanVideo">
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformGzhPlanVideo">
|
|
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, title_is_update, cover,
|
|
|
|
- cover_is_update, video, create_account_id,
|
|
|
|
- create_timestamp)
|
|
|
|
|
|
+ title, custom_title, cover,
|
|
|
|
+ custom_cover, custom_cover_type, video,
|
|
|
|
+ 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}, #{titleIsUpdate,jdbcType=INTEGER}, #{cover,jdbcType=VARCHAR},
|
|
|
|
- #{coverIsUpdate,jdbcType=INTEGER}, #{video,jdbcType=VARCHAR}, #{createAccountId,jdbcType=BIGINT},
|
|
|
|
- #{createTimestamp,jdbcType=BIGINT})
|
|
|
|
|
|
+ #{title,jdbcType=VARCHAR}, #{customTitle,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR},
|
|
|
|
+ #{customCover,jdbcType=VARCHAR}, #{customCoverType,jdbcType=INTEGER}, #{video,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
|
|
@@ -133,14 +134,17 @@
|
|
<if test="title != null">
|
|
<if test="title != null">
|
|
title,
|
|
title,
|
|
</if>
|
|
</if>
|
|
- <if test="titleIsUpdate != null">
|
|
|
|
- title_is_update,
|
|
|
|
|
|
+ <if test="customTitle != null">
|
|
|
|
+ custom_title,
|
|
</if>
|
|
</if>
|
|
<if test="cover != null">
|
|
<if test="cover != null">
|
|
cover,
|
|
cover,
|
|
</if>
|
|
</if>
|
|
- <if test="coverIsUpdate != null">
|
|
|
|
- cover_is_update,
|
|
|
|
|
|
+ <if test="customCover != null">
|
|
|
|
+ custom_cover,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="customCoverType != null">
|
|
|
|
+ custom_cover_type,
|
|
</if>
|
|
</if>
|
|
<if test="video != null">
|
|
<if test="video != null">
|
|
video,
|
|
video,
|
|
@@ -165,14 +169,17 @@
|
|
<if test="title != null">
|
|
<if test="title != null">
|
|
#{title,jdbcType=VARCHAR},
|
|
#{title,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="titleIsUpdate != null">
|
|
|
|
- #{titleIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ <if test="customTitle != null">
|
|
|
|
+ #{customTitle,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="cover != null">
|
|
<if test="cover != null">
|
|
#{cover,jdbcType=VARCHAR},
|
|
#{cover,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="coverIsUpdate != null">
|
|
|
|
- #{coverIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ <if test="customCover != null">
|
|
|
|
+ #{customCover,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="customCoverType != null">
|
|
|
|
+ #{customCoverType,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
<if test="video != null">
|
|
<if test="video != null">
|
|
#{video,jdbcType=VARCHAR},
|
|
#{video,jdbcType=VARCHAR},
|
|
@@ -206,14 +213,17 @@
|
|
<if test="record.title != null">
|
|
<if test="record.title != null">
|
|
title = #{record.title,jdbcType=VARCHAR},
|
|
title = #{record.title,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="record.titleIsUpdate != null">
|
|
|
|
- title_is_update = #{record.titleIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ <if test="record.customTitle != null">
|
|
|
|
+ custom_title = #{record.customTitle,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="record.cover != null">
|
|
<if test="record.cover != null">
|
|
cover = #{record.cover,jdbcType=VARCHAR},
|
|
cover = #{record.cover,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="record.coverIsUpdate != null">
|
|
|
|
- cover_is_update = #{record.coverIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ <if test="record.customCover != null">
|
|
|
|
+ custom_cover = #{record.customCover,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="record.customCoverType != null">
|
|
|
|
+ custom_cover_type = #{record.customCoverType,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
<if test="record.video != null">
|
|
<if test="record.video != null">
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
@@ -235,9 +245,10 @@
|
|
plan_id = #{record.planId,jdbcType=BIGINT},
|
|
plan_id = #{record.planId,jdbcType=BIGINT},
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
title = #{record.title,jdbcType=VARCHAR},
|
|
title = #{record.title,jdbcType=VARCHAR},
|
|
- title_is_update = #{record.titleIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ custom_title = #{record.customTitle,jdbcType=VARCHAR},
|
|
cover = #{record.cover,jdbcType=VARCHAR},
|
|
cover = #{record.cover,jdbcType=VARCHAR},
|
|
- cover_is_update = #{record.coverIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ custom_cover = #{record.customCover,jdbcType=VARCHAR},
|
|
|
|
+ custom_cover_type = #{record.customCoverType,jdbcType=INTEGER},
|
|
video = #{record.video,jdbcType=VARCHAR},
|
|
video = #{record.video,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}
|
|
@@ -257,14 +268,17 @@
|
|
<if test="title != null">
|
|
<if test="title != null">
|
|
title = #{title,jdbcType=VARCHAR},
|
|
title = #{title,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="titleIsUpdate != null">
|
|
|
|
- title_is_update = #{titleIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ <if test="customTitle != null">
|
|
|
|
+ custom_title = #{customTitle,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="cover != null">
|
|
<if test="cover != null">
|
|
cover = #{cover,jdbcType=VARCHAR},
|
|
cover = #{cover,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
- <if test="coverIsUpdate != null">
|
|
|
|
- cover_is_update = #{coverIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ <if test="customCover != null">
|
|
|
|
+ custom_cover = #{customCover,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="customCoverType != null">
|
|
|
|
+ custom_cover_type = #{customCoverType,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
<if test="video != null">
|
|
<if test="video != null">
|
|
video = #{video,jdbcType=VARCHAR},
|
|
video = #{video,jdbcType=VARCHAR},
|
|
@@ -283,9 +297,10 @@
|
|
set plan_id = #{planId,jdbcType=BIGINT},
|
|
set plan_id = #{planId,jdbcType=BIGINT},
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
title = #{title,jdbcType=VARCHAR},
|
|
title = #{title,jdbcType=VARCHAR},
|
|
- title_is_update = #{titleIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ custom_title = #{customTitle,jdbcType=VARCHAR},
|
|
cover = #{cover,jdbcType=VARCHAR},
|
|
cover = #{cover,jdbcType=VARCHAR},
|
|
- cover_is_update = #{coverIsUpdate,jdbcType=INTEGER},
|
|
|
|
|
|
+ custom_cover = #{customCover,jdbcType=VARCHAR},
|
|
|
|
+ custom_cover_type = #{customCoverType,jdbcType=INTEGER},
|
|
video = #{video,jdbcType=VARCHAR},
|
|
video = #{video,jdbcType=VARCHAR},
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT}
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT}
|