select id, qw_user_id, temp_id, rule_id, content_id, voice_txt, voice_url, create_time from qw_sop_temp_voice
insert into qw_sop_temp_voice
company_user_id,
company_id,
temp_id,
rule_id,
content_id,
voice_txt,
voice_url,
create_time,
duration,
#{companyUserId},
#{companyId},
#{tempId},
#{ruleId},
#{contentId},
#{voiceTxt},
#{voiceUrl},
#{createTime},
#{duration},
INSERT INTO qw_sop_temp_voice (temp_id, company_user_id, day_id, company_id, content_id, rule_id, voice_txt, voice_url, duration)
VALUES
(#{item.tempId}, #{item.companyUserId}, #{item.dayId}, #{item.companyId}, #{item.contentId}, #{item.ruleId}, #{item.voiceTxt}, #{item.voiceUrl}, #{item.duration})
update qw_sop_temp_voice
qw_user_id = #{qwUserId},
temp_id = #{tempId},
rule_id = #{ruleId},
content_id = #{contentId},
voice_txt = #{voiceTxt},
voice_url = #{voiceUrl},
create_time = #{createTime},
where id = #{id}
delete from qw_sop_temp_voice where id = #{id}
delete from qw_sop_temp_voice where id in
#{id}
delete from qw_sop_temp_voice a where a.temp_id = #{tempId} and a.day_id =#{dayId}