select temp_id, company_id, title, content, temp_code, temp_type, create_time, update_time, status, cate_id,is_audit from company_sms_temp
insert into company_sms_temp
company_id,
title,
content,
temp_code,
temp_type,
create_time,
update_time,
status,
cate_id,
is_audit,
#{companyId},
#{title},
#{content},
#{tempCode},
#{tempType},
#{createTime},
#{updateTime},
#{status},
#{cateId},
#{isAudit},
update company_sms_temp
company_id = #{companyId},
title = #{title},
content = #{content},
temp_code = #{tempCode},
temp_type = #{tempType},
create_time = #{createTime},
update_time = #{updateTime},
status = #{status},
cate_id = #{cateId},
is_audit = #{isAudit},
where temp_id = #{tempId}
delete from company_sms_temp where temp_id = #{tempId}
delete from company_sms_temp where temp_id in
#{tempId}