|
@@ -5,6 +5,8 @@
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
<result column="uuid" jdbcType="VARCHAR" property="uuid" />
|
|
<result column="uuid" jdbcType="VARCHAR" property="uuid" />
|
|
|
<result column="send_userid" jdbcType="BIGINT" property="sendUserid" />
|
|
<result column="send_userid" jdbcType="BIGINT" property="sendUserid" />
|
|
|
|
|
+ <result column="send_type" jdbcType="INTEGER" property="sendType" />
|
|
|
|
|
+ <result column="content" jdbcType="VARCHAR" property="content" />
|
|
|
<result column="staff_id" jdbcType="BIGINT" property="staffId" />
|
|
<result column="staff_id" jdbcType="BIGINT" property="staffId" />
|
|
|
<result column="video_id" jdbcType="BIGINT" property="videoId" />
|
|
<result column="video_id" jdbcType="BIGINT" property="videoId" />
|
|
|
<result column="appName" jdbcType="VARCHAR" property="appname" />
|
|
<result column="appName" jdbcType="VARCHAR" property="appname" />
|
|
@@ -84,9 +86,9 @@
|
|
|
</where>
|
|
</where>
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
- id, uuid, send_userid, staff_id, video_id, appName, title, weappIconUrl, pagepath,
|
|
|
|
|
- root_source_id, username, appid, cdnkey, md5, aeskey, fileSize, isRoom, `status`,
|
|
|
|
|
- create_time
|
|
|
|
|
|
|
+ id, uuid, send_userid, send_type, content, staff_id, video_id, appName, title, weappIconUrl,
|
|
|
|
|
+ pagepath, root_source_id, username, appid, cdnkey, md5, aeskey, fileSize, isRoom,
|
|
|
|
|
+ `status`, create_time
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
<sql id="Blob_Column_List">
|
|
|
`desc`
|
|
`desc`
|
|
@@ -147,19 +149,21 @@
|
|
|
</delete>
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComMsg">
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComMsg">
|
|
|
insert into third_part_we_com_msg (id, uuid, send_userid,
|
|
insert into third_part_we_com_msg (id, uuid, send_userid,
|
|
|
- staff_id, video_id, appName,
|
|
|
|
|
- title, weappIconUrl, pagepath,
|
|
|
|
|
- root_source_id, username, appid,
|
|
|
|
|
- cdnkey, md5, aeskey,
|
|
|
|
|
- fileSize, isRoom, `status`,
|
|
|
|
|
- create_time, `desc`)
|
|
|
|
|
|
|
+ send_type, content, staff_id,
|
|
|
|
|
+ video_id, appName, title,
|
|
|
|
|
+ weappIconUrl, pagepath, root_source_id,
|
|
|
|
|
+ username, appid, cdnkey,
|
|
|
|
|
+ md5, aeskey, fileSize,
|
|
|
|
|
+ isRoom, `status`, create_time,
|
|
|
|
|
+ `desc`)
|
|
|
values (#{id,jdbcType=BIGINT}, #{uuid,jdbcType=VARCHAR}, #{sendUserid,jdbcType=BIGINT},
|
|
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},
|
|
|
|
|
- #{rootSourceId,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{appid,jdbcType=VARCHAR},
|
|
|
|
|
- #{cdnkey,jdbcType=VARCHAR}, #{md5,jdbcType=VARCHAR}, #{aeskey,jdbcType=VARCHAR},
|
|
|
|
|
- #{filesize,jdbcType=INTEGER}, #{isroom,jdbcType=BIT}, #{status,jdbcType=INTEGER},
|
|
|
|
|
- #{createTime,jdbcType=TIMESTAMP}, #{desc,jdbcType=LONGVARCHAR})
|
|
|
|
|
|
|
+ #{sendType,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{staffId,jdbcType=BIGINT},
|
|
|
|
|
+ #{videoId,jdbcType=BIGINT}, #{appname,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR},
|
|
|
|
|
+ #{weappiconurl,jdbcType=VARCHAR}, #{pagepath,jdbcType=VARCHAR}, #{rootSourceId,jdbcType=VARCHAR},
|
|
|
|
|
+ #{username,jdbcType=VARCHAR}, #{appid,jdbcType=VARCHAR}, #{cdnkey,jdbcType=VARCHAR},
|
|
|
|
|
+ #{md5,jdbcType=VARCHAR}, #{aeskey,jdbcType=VARCHAR}, #{filesize,jdbcType=INTEGER},
|
|
|
|
|
+ #{isroom,jdbcType=BIT}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ #{desc,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComMsg">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComMsg">
|
|
|
insert into third_part_we_com_msg
|
|
insert into third_part_we_com_msg
|
|
@@ -173,6 +177,12 @@
|
|
|
<if test="sendUserid != null">
|
|
<if test="sendUserid != null">
|
|
|
send_userid,
|
|
send_userid,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="sendType != null">
|
|
|
|
|
+ send_type,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="content != null">
|
|
|
|
|
+ content,
|
|
|
|
|
+ </if>
|
|
|
<if test="staffId != null">
|
|
<if test="staffId != null">
|
|
|
staff_id,
|
|
staff_id,
|
|
|
</if>
|
|
</if>
|
|
@@ -235,6 +245,12 @@
|
|
|
<if test="sendUserid != null">
|
|
<if test="sendUserid != null">
|
|
|
#{sendUserid,jdbcType=BIGINT},
|
|
#{sendUserid,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="sendType != null">
|
|
|
|
|
+ #{sendType,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="content != null">
|
|
|
|
|
+ #{content,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="staffId != null">
|
|
<if test="staffId != null">
|
|
|
#{staffId,jdbcType=BIGINT},
|
|
#{staffId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -306,6 +322,12 @@
|
|
|
<if test="record.sendUserid != null">
|
|
<if test="record.sendUserid != null">
|
|
|
send_userid = #{record.sendUserid,jdbcType=BIGINT},
|
|
send_userid = #{record.sendUserid,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.sendType != null">
|
|
|
|
|
+ send_type = #{record.sendType,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.content != null">
|
|
|
|
|
+ content = #{record.content,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="record.staffId != null">
|
|
<if test="record.staffId != null">
|
|
|
staff_id = #{record.staffId,jdbcType=BIGINT},
|
|
staff_id = #{record.staffId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -367,6 +389,8 @@
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
|
uuid = #{record.uuid,jdbcType=VARCHAR},
|
|
uuid = #{record.uuid,jdbcType=VARCHAR},
|
|
|
send_userid = #{record.sendUserid,jdbcType=BIGINT},
|
|
send_userid = #{record.sendUserid,jdbcType=BIGINT},
|
|
|
|
|
+ send_type = #{record.sendType,jdbcType=INTEGER},
|
|
|
|
|
+ content = #{record.content,jdbcType=VARCHAR},
|
|
|
staff_id = #{record.staffId,jdbcType=BIGINT},
|
|
staff_id = #{record.staffId,jdbcType=BIGINT},
|
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
|
appName = #{record.appname,jdbcType=VARCHAR},
|
|
appName = #{record.appname,jdbcType=VARCHAR},
|
|
@@ -393,6 +417,8 @@
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
|
uuid = #{record.uuid,jdbcType=VARCHAR},
|
|
uuid = #{record.uuid,jdbcType=VARCHAR},
|
|
|
send_userid = #{record.sendUserid,jdbcType=BIGINT},
|
|
send_userid = #{record.sendUserid,jdbcType=BIGINT},
|
|
|
|
|
+ send_type = #{record.sendType,jdbcType=INTEGER},
|
|
|
|
|
+ content = #{record.content,jdbcType=VARCHAR},
|
|
|
staff_id = #{record.staffId,jdbcType=BIGINT},
|
|
staff_id = #{record.staffId,jdbcType=BIGINT},
|
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
video_id = #{record.videoId,jdbcType=BIGINT},
|
|
|
appName = #{record.appname,jdbcType=VARCHAR},
|
|
appName = #{record.appname,jdbcType=VARCHAR},
|
|
@@ -422,6 +448,12 @@
|
|
|
<if test="sendUserid != null">
|
|
<if test="sendUserid != null">
|
|
|
send_userid = #{sendUserid,jdbcType=BIGINT},
|
|
send_userid = #{sendUserid,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="sendType != null">
|
|
|
|
|
+ send_type = #{sendType,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="content != null">
|
|
|
|
|
+ content = #{content,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="staffId != null">
|
|
<if test="staffId != null">
|
|
|
staff_id = #{staffId,jdbcType=BIGINT},
|
|
staff_id = #{staffId,jdbcType=BIGINT},
|
|
|
</if>
|
|
</if>
|
|
@@ -480,6 +512,8 @@
|
|
|
update third_part_we_com_msg
|
|
update third_part_we_com_msg
|
|
|
set uuid = #{uuid,jdbcType=VARCHAR},
|
|
set uuid = #{uuid,jdbcType=VARCHAR},
|
|
|
send_userid = #{sendUserid,jdbcType=BIGINT},
|
|
send_userid = #{sendUserid,jdbcType=BIGINT},
|
|
|
|
|
+ send_type = #{sendType,jdbcType=INTEGER},
|
|
|
|
|
+ content = #{content,jdbcType=VARCHAR},
|
|
|
staff_id = #{staffId,jdbcType=BIGINT},
|
|
staff_id = #{staffId,jdbcType=BIGINT},
|
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
|
appName = #{appname,jdbcType=VARCHAR},
|
|
appName = #{appname,jdbcType=VARCHAR},
|
|
@@ -503,6 +537,8 @@
|
|
|
update third_part_we_com_msg
|
|
update third_part_we_com_msg
|
|
|
set uuid = #{uuid,jdbcType=VARCHAR},
|
|
set uuid = #{uuid,jdbcType=VARCHAR},
|
|
|
send_userid = #{sendUserid,jdbcType=BIGINT},
|
|
send_userid = #{sendUserid,jdbcType=BIGINT},
|
|
|
|
|
+ send_type = #{sendType,jdbcType=INTEGER},
|
|
|
|
|
+ content = #{content,jdbcType=VARCHAR},
|
|
|
staff_id = #{staffId,jdbcType=BIGINT},
|
|
staff_id = #{staffId,jdbcType=BIGINT},
|
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
video_id = #{videoId,jdbcType=BIGINT},
|
|
|
appName = #{appname,jdbcType=VARCHAR},
|
|
appName = #{appname,jdbcType=VARCHAR},
|