select logs_id, company_id,type, company_user_id, customer_id, temp_id, temp_code, phone, content,
create_time, send_time, status,mid,stat,reply_content,number,sop_sms_log_id,sms_index
from company_sms_logs
insert into company_sms_logs
company_id,
company_user_id,
customer_id,
temp_id,
temp_code,
phone,
content,
create_time,
send_time,
status,
mid,
stat,
reply_content,
number,
type,
sop_sms_log_id,
sms_index,
#{companyId},
#{companyUserId},
#{customerId},
#{tempId},
#{tempCode},
#{phone},
#{content},
#{createTime},
#{sendTime},
#{status},
#{mid},
#{stat},
#{replyContent},
#{number},
#{type},
#{sopSmsLogId},
#{smsIndex},
update company_sms_logs
company_id = #{companyId},
company_user_id = #{companyUserId},
customer_id = #{customerId},
temp_id = #{tempId},
temp_code = #{tempCode},
phone = #{phone},
content = #{content},
create_time = #{createTime},
send_time = #{sendTime},
status = #{status},
mid = #{mid},
stat = #{stat},
reply_content = #{replyContent},
number = #{number},
type = #{type},
sop_sms_log_id = #{sopSmsLogId},
where logs_id = #{logsId}
delete from company_sms_logs where logs_id = #{logsId}
delete from company_sms_logs where logs_id in
#{logsId}