|
@@ -11,6 +11,7 @@
|
|
|
<result column="title" jdbcType="VARCHAR" property="title" />
|
|
|
<result column="weappIconUrl" jdbcType="VARCHAR" property="weappiconurl" />
|
|
|
<result column="pagepath" jdbcType="VARCHAR" property="pagepath" />
|
|
|
+ <result column="root_source_id" jdbcType="VARCHAR" property="rootSourceId" />
|
|
|
<result column="username" jdbcType="VARCHAR" property="username" />
|
|
|
<result column="appid" jdbcType="VARCHAR" property="appid" />
|
|
|
<result column="cdnkey" jdbcType="VARCHAR" property="cdnkey" />
|
|
@@ -83,7 +84,7 @@
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, uuid, send_userid, staff_id, video_id, appName, title, weappIconUrl, pagepath,
|
|
|
- username, appid, cdnkey, md5, aeskey, fileSize, isRoom, create_time
|
|
|
+ root_source_id, username, appid, cdnkey, md5, aeskey, fileSize, isRoom, create_time
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
`desc`
|
|
@@ -146,17 +147,17 @@
|
|
|
insert into third_part_we_com_msg (id, uuid, send_userid,
|
|
|
staff_id, video_id, appName,
|
|
|
title, weappIconUrl, pagepath,
|
|
|
- username, appid, cdnkey,
|
|
|
- md5, aeskey, fileSize,
|
|
|
- isRoom, create_time, `desc`
|
|
|
- )
|
|
|
+ root_source_id, username, appid,
|
|
|
+ cdnkey, md5, aeskey,
|
|
|
+ fileSize, isRoom, create_time,
|
|
|
+ `desc`)
|
|
|
values (#{id,jdbcType=BIGINT}, #{uuid,jdbcType=VARCHAR}, #{sendUserid,jdbcType=BIGINT},
|
|
|
#{staffId,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT}, #{appname,jdbcType=VARCHAR},
|
|
|
#{title,jdbcType=VARCHAR}, #{weappiconurl,jdbcType=VARCHAR}, #{pagepath,jdbcType=VARCHAR},
|
|
|
- #{username,jdbcType=VARCHAR}, #{appid,jdbcType=VARCHAR}, #{cdnkey,jdbcType=VARCHAR},
|
|
|
- #{md5,jdbcType=VARCHAR}, #{aeskey,jdbcType=VARCHAR}, #{filesize,jdbcType=INTEGER},
|
|
|
- #{isroom,jdbcType=BIT}, #{createTime,jdbcType=TIMESTAMP}, #{desc,jdbcType=LONGVARCHAR}
|
|
|
- )
|
|
|
+ #{rootSourceId,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{appid,jdbcType=VARCHAR},
|
|
|
+ #{cdnkey,jdbcType=VARCHAR}, #{md5,jdbcType=VARCHAR}, #{aeskey,jdbcType=VARCHAR},
|
|
|
+ #{filesize,jdbcType=INTEGER}, #{isroom,jdbcType=BIT}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ #{desc,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComMsg">
|
|
|
insert into third_part_we_com_msg
|
|
@@ -188,6 +189,9 @@
|
|
|
<if test="pagepath != null">
|
|
|
pagepath,
|
|
|
</if>
|
|
|
+ <if test="rootSourceId != null">
|
|
|
+ root_source_id,
|
|
|
+ </if>
|
|
|
<if test="username != null">
|
|
|
username,
|
|
|
</if>
|
|
@@ -244,6 +248,9 @@
|
|
|
<if test="pagepath != null">
|
|
|
#{pagepath,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="rootSourceId != null">
|
|
|
+ #{rootSourceId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="username != null">
|
|
|
#{username,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -309,6 +316,9 @@
|
|
|
<if test="record.pagepath != null">
|
|
|
pagepath = #{record.pagepath,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.rootSourceId != null">
|
|
|
+ root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.username != null">
|
|
|
username = #{record.username,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -352,6 +362,7 @@
|
|
|
title = #{record.title,jdbcType=VARCHAR},
|
|
|
weappIconUrl = #{record.weappiconurl,jdbcType=VARCHAR},
|
|
|
pagepath = #{record.pagepath,jdbcType=VARCHAR},
|
|
|
+ root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
|
username = #{record.username,jdbcType=VARCHAR},
|
|
|
appid = #{record.appid,jdbcType=VARCHAR},
|
|
|
cdnkey = #{record.cdnkey,jdbcType=VARCHAR},
|
|
@@ -376,6 +387,7 @@
|
|
|
title = #{record.title,jdbcType=VARCHAR},
|
|
|
weappIconUrl = #{record.weappiconurl,jdbcType=VARCHAR},
|
|
|
pagepath = #{record.pagepath,jdbcType=VARCHAR},
|
|
|
+ root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
|
username = #{record.username,jdbcType=VARCHAR},
|
|
|
appid = #{record.appid,jdbcType=VARCHAR},
|
|
|
cdnkey = #{record.cdnkey,jdbcType=VARCHAR},
|
|
@@ -415,6 +427,9 @@
|
|
|
<if test="pagepath != null">
|
|
|
pagepath = #{pagepath,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="rootSourceId != null">
|
|
|
+ root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="username != null">
|
|
|
username = #{username,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -455,6 +470,7 @@
|
|
|
title = #{title,jdbcType=VARCHAR},
|
|
|
weappIconUrl = #{weappiconurl,jdbcType=VARCHAR},
|
|
|
pagepath = #{pagepath,jdbcType=VARCHAR},
|
|
|
+ root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
|
username = #{username,jdbcType=VARCHAR},
|
|
|
appid = #{appid,jdbcType=VARCHAR},
|
|
|
cdnkey = #{cdnkey,jdbcType=VARCHAR},
|
|
@@ -476,6 +492,7 @@
|
|
|
title = #{title,jdbcType=VARCHAR},
|
|
|
weappIconUrl = #{weappiconurl,jdbcType=VARCHAR},
|
|
|
pagepath = #{pagepath,jdbcType=VARCHAR},
|
|
|
+ root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
|
username = #{username,jdbcType=VARCHAR},
|
|
|
appid = #{appid,jdbcType=VARCHAR},
|
|
|
cdnkey = #{cdnkey,jdbcType=VARCHAR},
|