select seat_id, seat_num, seat_bind_ip, current_user_id, create_by, create_time, update_by, update_time, remark from sim_seat select LAST_INSERT_ID() insert into sim_seat seat_num, seat_bind_ip, current_user_id, create_by, create_time, update_by, update_time, remark, #{seatNum}, #{seatBindIp}, #{currentUserId}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update sim_seat seat_num = #{seatNum}, seat_bind_ip = #{seatBindIp}, current_user_id = #{currentUserId}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where seat_id = #{seatId} delete from sim_seat where seat_id = #{seatId} delete from sim_seat where seat_id in #{seatId}