select id, qw_userid, external_user_id, watch_status, content_json, send_status, send_time, send_time_json, company_id, receiving_status, msg_id, sop_id, real_send_time, sop_type, business_id,remark, company_user_id,customer_id,corp_id from fs_course_sop_logs insert into fs_course_sop_logs qw_userid, external_user_id, watch_status, content_json, send_status, send_time, send_time_json, company_id, receiving_status, msg_id, sop_id, real_send_time, sop_type, business_id, remark, company_user_id, customer_id, corp_id, #{qwUserid}, #{externalUserId}, #{watchStatus}, #{contentJson}, #{sendStatus}, #{sendTime}, #{sendTimeJson}, #{companyId}, #{receivingStatus}, #{msgId}, #{sopId}, #{realSendTime}, #{sopType}, #{businessId}, #{remark}, #{companyUserId}, #{customerId}, #{corp_id}, update fs_course_sop_logs qw_userid = #{qwUserid}, external_user_id = #{externalUserId}, watch_status = #{watchStatus}, content_json = #{contentJson}, send_status = #{sendStatus}, send_time = #{sendTime}, send_time_json = #{sendTimeJson}, company_id = #{companyId}, receiving_status = #{receivingStatus}, msg_id = #{msgId}, sop_id = #{sopId}, real_send_time = #{realSendTime}, sop_type = #{sopType}, business_id = #{businessId}, remark = #{remark}, company_user_id = #{companyUserId}, customer_id = #{customerId}, corp_id = #{corpId}, where id = #{id} delete from fs_course_sop_logs where id = #{id} delete from fs_course_sop_logs where id in #{id}