|
@@ -4,7 +4,7 @@
|
|
|
<resultMap id="BaseResultMap" type="com.tzld.piaoquan.growth.common.model.po.AttachmentWithMsgResult">
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
<result column="attachment_id" jdbcType="BIGINT" property="attachmentId" />
|
|
|
- <result column="msg_result_id" jdbcType="INTEGER" property="msgResultId" />
|
|
|
+ <result column="msg_result_id" jdbcType="BIGINT" property="msgResultId" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
</resultMap>
|
|
@@ -105,7 +105,7 @@
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.growth.common.model.po.AttachmentWithMsgResult">
|
|
|
insert into we_com_attachment_with_msg_result (id, attachment_id, msg_result_id,
|
|
|
create_time, update_time)
|
|
|
- values (#{id,jdbcType=BIGINT}, #{attachmentId,jdbcType=BIGINT}, #{msgResultId,jdbcType=INTEGER},
|
|
|
+ values (#{id,jdbcType=BIGINT}, #{attachmentId,jdbcType=BIGINT}, #{msgResultId,jdbcType=BIGINT},
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.growth.common.model.po.AttachmentWithMsgResult">
|
|
@@ -135,7 +135,7 @@
|
|
|
#{attachmentId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="msgResultId != null">
|
|
|
- #{msgResultId,jdbcType=INTEGER},
|
|
|
+ #{msgResultId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="createTime != null">
|
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
@@ -161,7 +161,7 @@
|
|
|
attachment_id = #{record.attachmentId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="record.msgResultId != null">
|
|
|
- msg_result_id = #{record.msgResultId,jdbcType=INTEGER},
|
|
|
+ msg_result_id = #{record.msgResultId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="record.createTime != null">
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
@@ -178,7 +178,7 @@
|
|
|
update we_com_attachment_with_msg_result
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
|
attachment_id = #{record.attachmentId,jdbcType=BIGINT},
|
|
|
- msg_result_id = #{record.msgResultId,jdbcType=INTEGER},
|
|
|
+ msg_result_id = #{record.msgResultId,jdbcType=BIGINT},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
|
<if test="_parameter != null">
|
|
@@ -192,7 +192,7 @@
|
|
|
attachment_id = #{attachmentId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="msgResultId != null">
|
|
|
- msg_result_id = #{msgResultId,jdbcType=INTEGER},
|
|
|
+ msg_result_id = #{msgResultId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="createTime != null">
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
@@ -206,7 +206,7 @@
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.growth.common.model.po.AttachmentWithMsgResult">
|
|
|
update we_com_attachment_with_msg_result
|
|
|
set attachment_id = #{attachmentId,jdbcType=BIGINT},
|
|
|
- msg_result_id = #{msgResultId,jdbcType=INTEGER},
|
|
|
+ msg_result_id = #{msgResultId,jdbcType=BIGINT},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
|
where id = #{id,jdbcType=BIGINT}
|