|
|
@@ -19,6 +19,7 @@
|
|
|
<result column="aeskey" jdbcType="VARCHAR" property="aeskey" />
|
|
|
<result column="fileSize" jdbcType="INTEGER" property="filesize" />
|
|
|
<result column="isRoom" jdbcType="BIT" property="isroom" />
|
|
|
+ <result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComMsg">
|
|
|
@@ -84,7 +85,8 @@
|
|
|
</sql>
|
|
|
<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, create_time
|
|
|
+ root_source_id, username, appid, cdnkey, md5, aeskey, fileSize, isRoom, `status`,
|
|
|
+ create_time
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
`desc`
|
|
|
@@ -149,15 +151,15 @@
|
|
|
title, weappIconUrl, pagepath,
|
|
|
root_source_id, username, appid,
|
|
|
cdnkey, md5, aeskey,
|
|
|
- fileSize, isRoom, create_time,
|
|
|
- `desc`)
|
|
|
+ fileSize, isRoom, `status`,
|
|
|
+ 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},
|
|
|
#{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})
|
|
|
+ #{filesize,jdbcType=INTEGER}, #{isroom,jdbcType=BIT}, #{status,jdbcType=INTEGER},
|
|
|
+ #{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
|
|
|
@@ -213,6 +215,9 @@
|
|
|
<if test="isroom != null">
|
|
|
isRoom,
|
|
|
</if>
|
|
|
+ <if test="status != null">
|
|
|
+ `status`,
|
|
|
+ </if>
|
|
|
<if test="createTime != null">
|
|
|
create_time,
|
|
|
</if>
|
|
|
@@ -272,6 +277,9 @@
|
|
|
<if test="isroom != null">
|
|
|
#{isroom,jdbcType=BIT},
|
|
|
</if>
|
|
|
+ <if test="status != null">
|
|
|
+ #{status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="createTime != null">
|
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
@@ -340,6 +348,9 @@
|
|
|
<if test="record.isroom != null">
|
|
|
isRoom = #{record.isroom,jdbcType=BIT},
|
|
|
</if>
|
|
|
+ <if test="record.status != null">
|
|
|
+ `status` = #{record.status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.createTime != null">
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
@@ -370,6 +381,7 @@
|
|
|
aeskey = #{record.aeskey,jdbcType=VARCHAR},
|
|
|
fileSize = #{record.filesize,jdbcType=INTEGER},
|
|
|
isRoom = #{record.isroom,jdbcType=BIT},
|
|
|
+ `status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
`desc` = #{record.desc,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
@@ -395,6 +407,7 @@
|
|
|
aeskey = #{record.aeskey,jdbcType=VARCHAR},
|
|
|
fileSize = #{record.filesize,jdbcType=INTEGER},
|
|
|
isRoom = #{record.isroom,jdbcType=BIT},
|
|
|
+ `status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -451,6 +464,9 @@
|
|
|
<if test="isroom != null">
|
|
|
isRoom = #{isroom,jdbcType=BIT},
|
|
|
</if>
|
|
|
+ <if test="status != null">
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="createTime != null">
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
@@ -478,6 +494,7 @@
|
|
|
aeskey = #{aeskey,jdbcType=VARCHAR},
|
|
|
fileSize = #{filesize,jdbcType=INTEGER},
|
|
|
isRoom = #{isroom,jdbcType=BIT},
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
`desc` = #{desc,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
@@ -500,6 +517,7 @@
|
|
|
aeskey = #{aeskey,jdbcType=VARCHAR},
|
|
|
fileSize = #{filesize,jdbcType=INTEGER},
|
|
|
isRoom = #{isroom,jdbcType=BIT},
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|