select id, wx_user_id, company_id, company_user_id, msg_json, content, msg_type, send_type, create_time, create_by, update_by, update_time, remark from company_wx_chat
insert into company_wx_chat
wx_user_id,
company_id,
company_user_id,
msg_json,
content,
msg_type,
send_type,
create_time,
create_by,
update_by,
update_time,
remark,
#{wxUserId},
#{companyId},
#{companyUserId},
#{msgJson},
#{content},
#{msgType},
#{sendType},
#{createTime},
#{createBy},
#{updateBy},
#{updateTime},
#{remark},
update company_wx_chat
wx_user_id = #{wxUserId},
company_id = #{companyId},
company_user_id = #{companyUserId},
msg_json = #{msgJson},
content = #{content},
msg_type = #{msgType},
send_type = #{sendType},
create_time = #{createTime},
create_by = #{createBy},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from company_wx_chat where id = #{id}
delete from company_wx_chat where id in
#{id}