select id, account_id, key, type, msg_id, from_user_name, to_user_name, msg_type, content, img_status, img_buf, push_content, new_msg_id, create_time, create_by, update_time, update_by, remark from wx_msg_log
insert into wx_msg_log
account_id,
key,
type,
msg_id,
from_user_name,
to_user_name,
msg_type,
content,
img_status,
img_buf,
push_content,
new_msg_id,
create_time,
create_by,
update_time,
update_by,
remark,
#{accountId},
#{key},
#{type},
#{msgId},
#{fromUserName},
#{toUserName},
#{msgType},
#{content},
#{imgStatus},
#{imgBuf},
#{pushContent},
#{newMsgId},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark},
update wx_msg_log
account_id = #{accountId},
key = #{key},
type = #{type},
msg_id = #{msgId},
from_user_name = #{fromUserName},
to_user_name = #{toUserName},
msg_type = #{msgType},
content = #{content},
img_status = #{imgStatus},
img_buf = #{imgBuf},
push_content = #{pushContent},
new_msg_id = #{newMsgId},
create_time = #{createTime},
create_by = #{createBy},
update_time = #{updateTime},
update_by = #{updateBy},
remark = #{remark},
where id = #{id}
delete from wx_msg_log where id = #{id}
delete from wx_msg_log where id in
#{id}