Authored by Amos_sdy

fix

... ... @@ -14,16 +14,17 @@
<result column="verify_key" property="verifyKey" jdbcType="INTEGER" />
<result column="is_del" property="isDel" jdbcType="CHAR" />
<result column="content" property="content" jdbcType="LONGVARCHAR" />
<result column="business_type" property="businessType" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List" >
id, uid, send_uid, title, type, is_read, create_time, read_time, verify_key, is_del,content
id, uid, send_uid, title, type, is_read, create_time, read_time, verify_key, is_del,content, business_type
</sql>
<insert id="insertBatch">
INSERT INTO ${tableName} (uid,send_uid,title,content,type,is_read,create_time,read_time,verify_key,is_del)
INSERT INTO ${tableName} (uid,send_uid,title,content,type,is_read,create_time,read_time,verify_key,is_del,business_type)
values
<foreach collection="list" item="item" index="index" separator="," >
(#{item.uid}, #{item.sendUid},#{item.title},#{item.content},#{item.type},#{item.isRead}, #{item.createTime}, #{item.readTime}, #{item.verifyKey}, #{item.isDel})
(#{item.uid}, #{item.sendUid},#{item.title},#{item.content},#{item.type},#{item.isRead}, #{item.createTime}, #{item.readTime}, #{item.verifyKey}, #{item.isDel}, #{item.businessType})
</foreach>
</insert>
<insert id="insertInbox">
... ...