select id, type, sop_id, sop_user_id, send_type, generate_type, account_id, wx_contact_id, wx_contact_name, wx_room_id, wx_room_name, fs_user_id, send_status, send_remark, send_sort, expiration_time, create_time, create_by, update_time, update_by, remark from wx_sop_logs
insert into wx_sop_logs
type,
sop_id,
sop_user_id,
send_type,
generate_type,
account_id,
wx_contact_id,
wx_contact_name,
wx_room_id,
wx_room_name,
fs_user_id,
send_status,
send_remark,
send_sort,
expiration_time,
create_time,
create_by,
update_time,
update_by,
remark,
#{type},
#{sopId},
#{sopUserId},
#{sendType},
#{generateType},
#{accountId},
#{wxContactId},
#{wxContactName},
#{wxRoomId},
#{wxRoomName},
#{fsUserId},
#{sendStatus},
#{sendRemark},
#{sendSort},
#{expirationTime},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark},
update wx_sop_logs
type = #{type},
sop_id = #{sopId},
sop_user_id = #{sopUserId},
send_type = #{sendType},
generate_type = #{generateType},
account_id = #{accountId},
wx_contact_id = #{wxContactId},
wx_contact_name = #{wxContactName},
wx_room_id = #{wxRoomId},
wx_room_name = #{wxRoomName},
fs_user_id = #{fsUserId},
send_status = #{sendStatus},
send_remark = #{sendRemark},
send_sort = #{sendSort},
expiration_time = #{expirationTime},
create_time = #{createTime},
create_by = #{createBy},
update_time = #{updateTime},
update_by = #{updateBy},
remark = #{remark},
where id = #{id}
delete from wx_sop_logs where id = #{id}
delete from wx_sop_logs where id in
#{id}