select id,company_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,qw_user_id,company_id,temp_id,rule_id,content_id,voice_txt,voice_url,user_voice_url,create_time,duration,record_type,#{companyUserId},#{qwUserId},#{companyId},#{tempId},#{ruleId},#{contentId},#{voiceTxt},#{voiceUrl},#{userVoiceUrl},#{createTime},#{duration},#{recordType},
INSERT INTO qw_sop_temp_voice (temp_id, company_user_id, day_id, company_id, content_id, rule_id, voice_txt, voice_url,record_type, duration)
VALUES
(#{item.tempId}, #{item.companyUserId}, #{item.dayId}, #{item.companyId}, #{item.contentId}, #{item.ruleId}, #{item.voiceTxt}, #{item.voiceUrl}, #{item.recordType},#{item.duration})
update qw_sop_temp_voice
temp_id = #{tempId},rule_id = #{ruleId},content_id = #{contentId},voice_txt = #{voiceTxt},voice_url = #{voiceUrl},user_voice_url = #{userVoiceUrl},record_type = #{recordType},create_time = #{createTime},duration = #{duration},
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}
update qw_sop_temp_voice
WHEN #{item.id} THEN #{item.voiceUrl}
WHEN #{item.id} THEN #{item.duration}
WHEN #{item.id} THEN #{item.userVoiceUrl}
where id in
#{item.id}