|
@@ -22,6 +22,9 @@
|
|
|
<result column="index" jdbcType="INTEGER" property="index" />
|
|
<result column="index" jdbcType="INTEGER" property="index" />
|
|
|
<result column="trace_id" jdbcType="VARCHAR" property="traceId" />
|
|
<result column="trace_id" jdbcType="VARCHAR" property="traceId" />
|
|
|
<result column="wx_url" jdbcType="VARCHAR" property="wxUrl" />
|
|
<result column="wx_url" jdbcType="VARCHAR" property="wxUrl" />
|
|
|
|
|
+ <result column="crawler_video_id" jdbcType="INTEGER" property="crawlerVideoId" />
|
|
|
|
|
+ <result column="video_oss_path" jdbcType="VARCHAR" property="videoOssPath" />
|
|
|
|
|
+ <result column="user_id" jdbcType="VARCHAR" property="userId" />
|
|
|
<result column="is_delete" jdbcType="INTEGER" property="isDelete" />
|
|
<result column="is_delete" jdbcType="INTEGER" property="isDelete" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
@@ -87,8 +90,8 @@
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
id, content_id, plan_account_id, publish_content_id, app_id, app_name, avatar, mini_id,
|
|
id, content_id, plan_account_id, publish_content_id, app_id, app_name, avatar, mini_id,
|
|
|
mini_program_type, video_id, `source`, video_title, video_cover, video_path, production_path,
|
|
mini_program_type, video_id, `source`, video_title, video_cover, video_path, production_path,
|
|
|
- root_source_id, root_share_id, `index`, trace_id, wx_url, is_delete, create_time,
|
|
|
|
|
- update_time
|
|
|
|
|
|
|
+ root_source_id, root_share_id, `index`, trace_id, wx_url, crawler_video_id, video_oss_path,
|
|
|
|
|
+ user_id, is_delete, create_time, update_time
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.PublishMiniprogramExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.PublishMiniprogramExample" resultMap="BaseResultMap">
|
|
|
select
|
|
select
|
|
@@ -130,7 +133,8 @@
|
|
|
video_id, `source`, video_title,
|
|
video_id, `source`, video_title,
|
|
|
video_cover, video_path, production_path,
|
|
video_cover, video_path, production_path,
|
|
|
root_source_id, root_share_id, `index`,
|
|
root_source_id, root_share_id, `index`,
|
|
|
- trace_id, wx_url, is_delete,
|
|
|
|
|
|
|
+ trace_id, wx_url, crawler_video_id,
|
|
|
|
|
+ video_oss_path, user_id, is_delete,
|
|
|
create_time, update_time)
|
|
create_time, update_time)
|
|
|
values (#{id,jdbcType=BIGINT}, #{contentId,jdbcType=BIGINT}, #{planAccountId,jdbcType=BIGINT},
|
|
values (#{id,jdbcType=BIGINT}, #{contentId,jdbcType=BIGINT}, #{planAccountId,jdbcType=BIGINT},
|
|
|
#{publishContentId,jdbcType=VARCHAR}, #{appId,jdbcType=VARCHAR}, #{appName,jdbcType=VARCHAR},
|
|
#{publishContentId,jdbcType=VARCHAR}, #{appId,jdbcType=VARCHAR}, #{appName,jdbcType=VARCHAR},
|
|
@@ -138,7 +142,8 @@
|
|
|
#{videoId,jdbcType=BIGINT}, #{source,jdbcType=VARCHAR}, #{videoTitle,jdbcType=VARCHAR},
|
|
#{videoId,jdbcType=BIGINT}, #{source,jdbcType=VARCHAR}, #{videoTitle,jdbcType=VARCHAR},
|
|
|
#{videoCover,jdbcType=VARCHAR}, #{videoPath,jdbcType=VARCHAR}, #{productionPath,jdbcType=VARCHAR},
|
|
#{videoCover,jdbcType=VARCHAR}, #{videoPath,jdbcType=VARCHAR}, #{productionPath,jdbcType=VARCHAR},
|
|
|
#{rootSourceId,jdbcType=VARCHAR}, #{rootShareId,jdbcType=VARCHAR}, #{index,jdbcType=INTEGER},
|
|
#{rootSourceId,jdbcType=VARCHAR}, #{rootShareId,jdbcType=VARCHAR}, #{index,jdbcType=INTEGER},
|
|
|
- #{traceId,jdbcType=VARCHAR}, #{wxUrl,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER},
|
|
|
|
|
|
|
+ #{traceId,jdbcType=VARCHAR}, #{wxUrl,jdbcType=VARCHAR}, #{crawlerVideoId,jdbcType=INTEGER},
|
|
|
|
|
+ #{videoOssPath,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER},
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.PublishMiniprogram">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.PublishMiniprogram">
|
|
@@ -204,6 +209,15 @@
|
|
|
<if test="wxUrl != null">
|
|
<if test="wxUrl != null">
|
|
|
wx_url,
|
|
wx_url,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="crawlerVideoId != null">
|
|
|
|
|
+ crawler_video_id,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="videoOssPath != null">
|
|
|
|
|
+ video_oss_path,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="userId != null">
|
|
|
|
|
+ user_id,
|
|
|
|
|
+ </if>
|
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
|
is_delete,
|
|
is_delete,
|
|
|
</if>
|
|
</if>
|
|
@@ -275,6 +289,15 @@
|
|
|
<if test="wxUrl != null">
|
|
<if test="wxUrl != null">
|
|
|
#{wxUrl,jdbcType=VARCHAR},
|
|
#{wxUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="crawlerVideoId != null">
|
|
|
|
|
+ #{crawlerVideoId,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="videoOssPath != null">
|
|
|
|
|
+ #{videoOssPath,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="userId != null">
|
|
|
|
|
+ #{userId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
|
#{isDelete,jdbcType=INTEGER},
|
|
#{isDelete,jdbcType=INTEGER},
|
|
|
</if>
|
|
</if>
|
|
@@ -355,6 +378,15 @@
|
|
|
<if test="record.wxUrl != null">
|
|
<if test="record.wxUrl != null">
|
|
|
wx_url = #{record.wxUrl,jdbcType=VARCHAR},
|
|
wx_url = #{record.wxUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.crawlerVideoId != null">
|
|
|
|
|
+ crawler_video_id = #{record.crawlerVideoId,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.videoOssPath != null">
|
|
|
|
|
+ video_oss_path = #{record.videoOssPath,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.userId != null">
|
|
|
|
|
+ user_id = #{record.userId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="record.isDelete != null">
|
|
<if test="record.isDelete != null">
|
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
|
</if>
|
|
</if>
|
|
@@ -391,6 +423,9 @@
|
|
|
`index` = #{record.index,jdbcType=INTEGER},
|
|
`index` = #{record.index,jdbcType=INTEGER},
|
|
|
trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
|
wx_url = #{record.wxUrl,jdbcType=VARCHAR},
|
|
wx_url = #{record.wxUrl,jdbcType=VARCHAR},
|
|
|
|
|
+ crawler_video_id = #{record.crawlerVideoId,jdbcType=INTEGER},
|
|
|
|
|
+ video_oss_path = #{record.videoOssPath,jdbcType=VARCHAR},
|
|
|
|
|
+ user_id = #{record.userId,jdbcType=VARCHAR},
|
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
@@ -458,6 +493,15 @@
|
|
|
<if test="wxUrl != null">
|
|
<if test="wxUrl != null">
|
|
|
wx_url = #{wxUrl,jdbcType=VARCHAR},
|
|
wx_url = #{wxUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="crawlerVideoId != null">
|
|
|
|
|
+ crawler_video_id = #{crawlerVideoId,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="videoOssPath != null">
|
|
|
|
|
+ video_oss_path = #{videoOssPath,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="userId != null">
|
|
|
|
|
+ user_id = #{userId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
|
</if>
|
|
</if>
|
|
@@ -491,6 +535,9 @@
|
|
|
`index` = #{index,jdbcType=INTEGER},
|
|
`index` = #{index,jdbcType=INTEGER},
|
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
|
wx_url = #{wxUrl,jdbcType=VARCHAR},
|
|
wx_url = #{wxUrl,jdbcType=VARCHAR},
|
|
|
|
|
+ crawler_video_id = #{crawlerVideoId,jdbcType=INTEGER},
|
|
|
|
|
+ video_oss_path = #{videoOssPath,jdbcType=VARCHAR},
|
|
|
|
|
+ user_id = #{userId,jdbcType=VARCHAR},
|
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|