select id, taskid, sort, ivrtext, script_type, script_topic, score, branch_flag, branch_nextscriptno, next_scriptno, templateID, questionPoint, script_content, noMatchText, noMatchVoice, slienceText, slienceVoice, submoduleText, submoduleVoice, noClearlyText, noClearlyVoice, categoryName, targetOptions, language, playWavOnly, value_type, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, targettype, targetid, targetvalue, otherdata, is_must, question_result from ivr_task_template_script insert into ivr_task_template_script taskid, templateID, questionPoint, noMatchText, noMatchVoice, slienceText, slienceVoice, submoduleText, submoduleVoice, noClearlyText, noClearlyVoice, categoryName, targetOptions, language, playWavOnly, value_type, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, targettype, targetid, targetvalue, otherdata, is_must, question_result, branch_flag, branch_nextscriptno, script_type, script_content, sort, next_scriptno, score, ivrtext, script_topic, #{taskid}, #{templateID}, #{questionPoint}, #{noMatchText}, #{noMatchVoice}, #{slienceText}, #{slienceVoice}, #{submoduleText}, #{submoduleVoice}, #{noClearlyText}, #{noClearlyVoice}, #{categoryName}, #{targetOptions}, #{language}, #{playWavOnly}, #{valueType}, #{delFlag}, #{updateBy}, #{updateTime}, #{createBy}, #{createTime}, #{isupload}, #{uploadTime}, #{orgid}, #{pid}, #{guid}, #{targettype}, #{targetid}, #{targetvalue}, #{otherdata}, #{isMust}, #{questionResult}, #{branchFlag}, #{branchNextscriptno}, #{scriptType}, #{scriptContent}, #{sort}, #{nextScriptno}, #{score}, #{ivrtext}, #{scriptTopic}, update ivr_task_template_script taskid = #{taskid}, templateID = #{templateID}, questionPoint = #{questionPoint}, noMatchText = #{noMatchText}, noMatchVoice = #{noMatchVoice}, slienceText = #{slienceText}, slienceVoice = #{slienceVoice}, submoduleText = #{submoduleText}, submoduleVoice = #{submoduleVoice}, noClearlyText = #{noClearlyText}, noClearlyVoice = #{noClearlyVoice}, categoryName = #{categoryName}, targetOptions = #{targetOptions}, language = #{language}, playWavOnly = #{playWavOnly}, value_type = #{valueType}, del_flag = #{delFlag}, update_by = #{updateBy}, update_time = #{updateTime}, create_by = #{createBy}, create_time = #{createTime}, isupload = #{isupload}, upload_time = #{uploadTime}, orgid = #{orgid}, pid = #{pid}, guid = #{guid}, targettype = #{targettype}, targetid = #{targetid}, targetvalue = #{targetvalue}, otherdata = #{otherdata}, is_must = #{isMust}, question_result = #{questionResult}, branch_flag = #{branchFlag}, branch_nextscriptno = #{branchNextscriptno}, script_type = #{scriptType}, script_content = #{scriptContent}, sort = #{sort}, next_scriptno = #{nextScriptno}, score = #{score}, ivrtext = #{ivrtext}, script_topic = #{scriptTopic}, where id = #{id} update ivr_task_template_script set del_flag=1 where ID = #{ID} update ivr_task_template_script set del_flag=1 where id in #{id}