select ID, templateQuestionNum, templateID, scriptID, questionPoint, questionText, questionVoice, noMatchText, noMatchVoice, slienceText, slienceVoice, submoduleText, submoduleVoice, noClearlyText, noClearlyVoice, categoryName, targetid, targettype, targetvalue, questiontitle, next_question, otherdata, targetOptions, language, playWavOnly, isEnable, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid from ivr_liba_template_script insert into ivr_liba_template_script templateQuestionNum, templateID, scriptID, questionPoint, questionText, questionVoice, noMatchText, noMatchVoice, slienceText, slienceVoice, submoduleText, submoduleVoice, noClearlyText, noClearlyVoice, categoryName, targetOptions, language, playWavOnly, isEnable, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, targetvalue, targettype, targetid, questiontitle, next_question, otherdata, #{templateQuestionNum}, #{templateID}, #{scriptid}, #{questionPoint}, #{questionText}, #{questionVoice}, #{noMatchText}, #{noMatchVoice}, #{slienceText}, #{slienceVoice}, #{submoduleText}, #{submoduleVoice}, #{noClearlyText}, #{noClearlyVoice}, #{categoryName}, #{targetOptions}, #{language}, #{playWavOnly}, #{isEnable}, #{delFlag}, #{updateBy}, #{updateTime}, #{createBy}, #{createTime}, #{isupload}, #{uploadTime}, #{orgid}, #{pid}, #{guid}, #{targetvalue}, #{targettype}, #{targetid}, #{questiontitle}, #{nextQuestion}, #{otherdata}, update ivr_liba_template_script templateQuestionNum = #{templateQuestionNum}, templateID = #{templateID}, scriptID = #{scriptid}, questionPoint = #{questionPoint}, questionText = #{questionText}, questionVoice = #{questionVoice}, noMatchText = #{noMatchText}, noMatchVoice = #{noMatchVoice}, slienceText = #{slienceText}, slienceVoice = #{slienceVoice}, submoduleText = #{submoduleText}, submoduleVoice = #{submoduleVoice}, noClearlyText = #{noClearlyText}, noClearlyVoice = #{noClearlyVoice}, categoryName = #{categoryName}, targetOptions = #{targetOptions}, language = #{language}, playWavOnly = #{playWavOnly}, isEnable = #{isEnable}, 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}, targetvalue = #{targetvalue}, targettype = #{targettype}, targetid = #{targetid}, questiontitle = #{questiontitle}, next_question = #{nextQuestion}, otherdata = #{otherdata}, where ID = #{ID} update ivr_liba_template_script del_flag = 1 where ID = #{ID} delete from ivr_liba_template_script where ID in #{ID}