|
@@ -21,6 +21,7 @@
|
|
|
<result column="root_share_id" jdbcType="VARCHAR" property="rootShareId" />
|
|
<result column="root_share_id" jdbcType="VARCHAR" property="rootShareId" />
|
|
|
<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="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" />
|
|
@@ -86,7 +87,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, is_delete, create_time, update_time
|
|
|
|
|
|
|
+ root_source_id, root_share_id, `index`, trace_id, wx_url, 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
|
|
@@ -128,16 +130,16 @@
|
|
|
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, is_delete, create_time,
|
|
|
|
|
- update_time)
|
|
|
|
|
|
|
+ trace_id, wx_url, is_delete,
|
|
|
|
|
+ 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},
|
|
|
#{avatar,jdbcType=VARCHAR}, #{miniId,jdbcType=INTEGER}, #{miniProgramType,jdbcType=INTEGER},
|
|
#{avatar,jdbcType=VARCHAR}, #{miniId,jdbcType=INTEGER}, #{miniProgramType,jdbcType=INTEGER},
|
|
|
#{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}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
- #{updateTime,jdbcType=TIMESTAMP})
|
|
|
|
|
|
|
+ #{traceId,jdbcType=VARCHAR}, #{wxUrl,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER},
|
|
|
|
|
+ #{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">
|
|
|
insert into long_articles_publish_miniprogram
|
|
insert into long_articles_publish_miniprogram
|
|
@@ -199,6 +201,9 @@
|
|
|
<if test="traceId != null">
|
|
<if test="traceId != null">
|
|
|
trace_id,
|
|
trace_id,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="wxUrl != null">
|
|
|
|
|
+ wx_url,
|
|
|
|
|
+ </if>
|
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
|
is_delete,
|
|
is_delete,
|
|
|
</if>
|
|
</if>
|
|
@@ -267,6 +272,9 @@
|
|
|
<if test="traceId != null">
|
|
<if test="traceId != null">
|
|
|
#{traceId,jdbcType=VARCHAR},
|
|
#{traceId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="wxUrl != null">
|
|
|
|
|
+ #{wxUrl,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
|
#{isDelete,jdbcType=INTEGER},
|
|
#{isDelete,jdbcType=INTEGER},
|
|
|
</if>
|
|
</if>
|
|
@@ -344,6 +352,9 @@
|
|
|
<if test="record.traceId != null">
|
|
<if test="record.traceId != null">
|
|
|
trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
trace_id = #{record.traceId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.wxUrl != null">
|
|
|
|
|
+ wx_url = #{record.wxUrl,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>
|
|
@@ -379,6 +390,7 @@
|
|
|
root_share_id = #{record.rootShareId,jdbcType=VARCHAR},
|
|
root_share_id = #{record.rootShareId,jdbcType=VARCHAR},
|
|
|
`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},
|
|
|
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}
|
|
@@ -443,6 +455,9 @@
|
|
|
<if test="traceId != null">
|
|
<if test="traceId != null">
|
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="wxUrl != null">
|
|
|
|
|
+ wx_url = #{wxUrl,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
|
</if>
|
|
</if>
|
|
@@ -475,6 +490,7 @@
|
|
|
root_share_id = #{rootShareId,jdbcType=VARCHAR},
|
|
root_share_id = #{rootShareId,jdbcType=VARCHAR},
|
|
|
`index` = #{index,jdbcType=INTEGER},
|
|
`index` = #{index,jdbcType=INTEGER},
|
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
trace_id = #{traceId,jdbcType=VARCHAR},
|
|
|
|
|
+ wx_url = #{wxUrl,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}
|