r.id, r.uid, r.room, r.state, r.create_time,r.request_id
delete from room_monitor_config
where id = #{id,jdbcType=INTEGER}
SELECT LAST_INSERT_ID()
insert into room_monitor_config (uid, room, state,
create_time,request_id)
values (#{uid,jdbcType=BIGINT}, #{room,jdbcType=BIGINT}, #{state,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},#{requestId,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into room_monitor_config
uid,
room,
state,
create_time,
request_id,
#{uid,jdbcType=BIGINT},
#{room,jdbcType=BIGINT},
#{state,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{requestId,jdbcType=VARCHAR},
update room_monitor_config
uid = #{uid,jdbcType=BIGINT},
room = #{room,jdbcType=BIGINT},
state = #{state,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
request_id = #{requestId,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update room_monitor_config
set uid = #{uid,jdbcType=BIGINT},
room = #{room,jdbcType=BIGINT},
state = #{state,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
request_id = #{requestId,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}