select id, msgid, action, from, tolist, roomid, msgtime, msgtype, content, created_at, updated_at from qw_messages insert into qw_messages msgid, action, from, tolist, roomid, msgtime, msgtype, content, created_at, updated_at, #{msgid}, #{action}, #{from}, #{tolist}, #{roomid}, #{msgtime}, #{msgtype}, #{content}, #{createdAt}, #{updatedAt}, insert into qw_messages (msgid, action, `from`, tolist, roomid, msgtime, msgtype, content, created_at, updated_at) values ( #{item.msgid}, #{item.action}, #{item.from}, #{item.tolist}, #{item.roomid}, #{item.msgtime}, #{item.msgtype}, #{item.content}, #{item.createdAt}, #{item.updatedAt} ) update qw_messages msgid = #{msgid}, action = #{action}, from = #{from}, tolist = #{tolist}, roomid = #{roomid}, msgtime = #{msgtime}, msgtype = #{msgtype}, content = #{content}, created_at = #{createdAt}, updated_at = #{updatedAt}, where id = #{id} delete from qw_messages where id = #{id} delete from qw_messages where id in #{id}