|
|
@@ -4,7 +4,7 @@
|
|
|
<resultMap id="BaseResultMap" type="com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComRoomConfig">
|
|
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
<result column="room_id" jdbcType="BIGINT" property="roomId" />
|
|
|
- <result column="account_config_id" jdbcType="INTEGER" property="accountConfigId" />
|
|
|
+ <result column="account_config_id" jdbcType="VARCHAR" property="accountConfigId" />
|
|
|
<result column="put_scene" jdbcType="VARCHAR" property="putScene" />
|
|
|
<result column="channel" jdbcType="VARCHAR" property="channel" />
|
|
|
<result column="primary_third_staff_id" jdbcType="BIGINT" property="primaryThirdStaffId" />
|
|
|
@@ -113,7 +113,7 @@
|
|
|
put_scene, channel, primary_third_staff_id,
|
|
|
second_third_staff_id, `status`, create_time,
|
|
|
update_time)
|
|
|
- values (#{id,jdbcType=VARCHAR}, #{roomId,jdbcType=BIGINT}, #{accountConfigId,jdbcType=INTEGER},
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{roomId,jdbcType=BIGINT}, #{accountConfigId,jdbcType=VARCHAR},
|
|
|
#{putScene,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{primaryThirdStaffId,jdbcType=BIGINT},
|
|
|
#{secondThirdStaffId,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
#{updateTime,jdbcType=TIMESTAMP})
|
|
|
@@ -160,7 +160,7 @@
|
|
|
#{roomId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="accountConfigId != null">
|
|
|
- #{accountConfigId,jdbcType=INTEGER},
|
|
|
+ #{accountConfigId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="putScene != null">
|
|
|
#{putScene,jdbcType=VARCHAR},
|
|
|
@@ -201,7 +201,7 @@
|
|
|
room_id = #{record.roomId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="record.accountConfigId != null">
|
|
|
- account_config_id = #{record.accountConfigId,jdbcType=INTEGER},
|
|
|
+ account_config_id = #{record.accountConfigId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.putScene != null">
|
|
|
put_scene = #{record.putScene,jdbcType=VARCHAR},
|
|
|
@@ -233,7 +233,7 @@
|
|
|
update third_part_we_com_room_config
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
room_id = #{record.roomId,jdbcType=BIGINT},
|
|
|
- account_config_id = #{record.accountConfigId,jdbcType=INTEGER},
|
|
|
+ account_config_id = #{record.accountConfigId,jdbcType=VARCHAR},
|
|
|
put_scene = #{record.putScene,jdbcType=VARCHAR},
|
|
|
channel = #{record.channel,jdbcType=VARCHAR},
|
|
|
primary_third_staff_id = #{record.primaryThirdStaffId,jdbcType=BIGINT},
|
|
|
@@ -252,7 +252,7 @@
|
|
|
room_id = #{roomId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="accountConfigId != null">
|
|
|
- account_config_id = #{accountConfigId,jdbcType=INTEGER},
|
|
|
+ account_config_id = #{accountConfigId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="putScene != null">
|
|
|
put_scene = #{putScene,jdbcType=VARCHAR},
|
|
|
@@ -281,7 +281,7 @@
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComRoomConfig">
|
|
|
update third_part_we_com_room_config
|
|
|
set room_id = #{roomId,jdbcType=BIGINT},
|
|
|
- account_config_id = #{accountConfigId,jdbcType=INTEGER},
|
|
|
+ account_config_id = #{accountConfigId,jdbcType=VARCHAR},
|
|
|
put_scene = #{putScene,jdbcType=VARCHAR},
|
|
|
channel = #{channel,jdbcType=VARCHAR},
|
|
|
primary_third_staff_id = #{primaryThirdStaffId,jdbcType=BIGINT},
|