hist_id, uid, room_id, meeting_name, type, reward_money, serv_dura, close_type, open_time,
close_time, dura
insert into room_open_hist (hist_id, uid, room_id,
meeting_name, type, reward_money,
serv_dura, close_type, open_time,
close_time, dura)
values (#{histId,jdbcType=VARCHAR}, #{uid,jdbcType=BIGINT}, #{roomId,jdbcType=BIGINT},
#{meetingName,jdbcType=VARCHAR}, #{type,jdbcType=TINYINT}, #{rewardMoney,jdbcType=BIGINT},
#{servDura,jdbcType=INTEGER}, #{closeType,jdbcType=TINYINT}, #{openTime,jdbcType=TIMESTAMP},
#{closeTime,jdbcType=TIMESTAMP}, #{dura,jdbcType=DOUBLE})
insert into room_open_hist
hist_id,
uid,
room_id,
meeting_name,
type,
reward_money,
serv_dura,
close_type,
open_time,
close_time,
dura,
#{histId,jdbcType=VARCHAR},
#{uid,jdbcType=BIGINT},
#{roomId,jdbcType=BIGINT},
#{meetingName,jdbcType=VARCHAR},
#{type,jdbcType=TINYINT},
#{rewardMoney,jdbcType=BIGINT},
#{servDura,jdbcType=INTEGER},
#{closeType,jdbcType=TINYINT},
#{openTime,jdbcType=TIMESTAMP},
#{closeTime,jdbcType=TIMESTAMP},
#{dura,jdbcType=DOUBLE},
update room_open_hist
uid = #{uid,jdbcType=BIGINT},
room_id = #{roomId,jdbcType=BIGINT},
meeting_name = #{meetingName,jdbcType=VARCHAR},
type = #{type,jdbcType=TINYINT},
reward_money = #{rewardMoney,jdbcType=BIGINT},
serv_dura = #{servDura,jdbcType=INTEGER},
close_type = #{closeType,jdbcType=TINYINT},
open_time = #{openTime,jdbcType=TIMESTAMP},
close_time = #{closeTime,jdbcType=TIMESTAMP},
dura = #{dura,jdbcType=DOUBLE},
where hist_id = #{histId,jdbcType=VARCHAR}
update room_open_hist
set uid = #{uid,jdbcType=BIGINT},
room_id = #{roomId,jdbcType=BIGINT},
meeting_name = #{meetingName,jdbcType=VARCHAR},
type = #{type,jdbcType=TINYINT},
reward_money = #{rewardMoney,jdbcType=BIGINT},
serv_dura = #{servDura,jdbcType=INTEGER},
close_type = #{closeType,jdbcType=TINYINT},
open_time = #{openTime,jdbcType=TIMESTAMP},
close_time = #{closeTime,jdbcType=TIMESTAMP},
dura = #{dura,jdbcType=DOUBLE}
where hist_id = #{histId,jdbcType=VARCHAR}