select templateTargetID, templateQuestionID, templateQuestionNum, nextQuestionNum, templateID, switchID, switchDescription, switchText, switchWav, switchTempWav, targetType, categoryName, targetValue, targetID, questionTargetID, basicRegex, selfRegex, regexUsedType, language, isEnable, isDel, playType, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_liba_templatetarget
insert into ivr_liba_templatetarget
templateTargetID,
templateQuestionID,
templateQuestionNum,
nextQuestionNum,
templateID,
switchID,
switchDescription,
switchText,
switchWav,
switchTempWav,
targetType,
categoryName,
targetValue,
targetID,
questionTargetID,
basicRegex,
selfRegex,
regexUsedType,
language,
isEnable,
isDel,
playType,
del_flag,
update_by,
update_time,
create_by,
create_time,
isupload,
upload_time,
orgid,
#{templateTargetID},
#{templateQuestionID},
#{templateQuestionNum},
#{nextQuestionNum},
#{templateID},
#{switchID},
#{switchDescription},
#{switchText},
#{switchWav},
#{switchTempWav},
#{targetType},
#{categoryName},
#{targetValue},
#{targetID},
#{questionTargetID},
#{basicRegex},
#{selfRegex},
#{regexUsedType},
#{language},
#{isEnable},
#{isDel},
#{playType},
#{delFlag},
#{updateBy},
#{updateTime},
#{createBy},
#{createTime},
#{isupload},
#{uploadTime},
#{orgid},
update ivr_liba_templatetarget
templateQuestionID = #{templateQuestionID},
templateQuestionNum = #{templateQuestionNum},
nextQuestionNum = #{nextQuestionNum},
templateID = #{templateID},
switchID = #{switchID},
switchDescription = #{switchDescription},
switchText = #{switchText},
switchWav = #{switchWav},
switchTempWav = #{switchTempWav},
targetType = #{targetType},
categoryName = #{categoryName},
targetValue = #{targetValue},
targetID = #{targetID},
questionTargetID = #{questionTargetID},
basicRegex = #{basicRegex},
selfRegex = #{selfRegex},
regexUsedType = #{regexUsedType},
language = #{language},
isEnable = #{isEnable},
isDel = #{isDel},
playType = #{playType},
del_flag = #{delFlag},
update_by = #{updateBy},
update_time = #{updateTime},
create_by = #{createBy},
create_time = #{createTime},
isupload = #{isupload},
upload_time = #{uploadTime},
orgid = #{orgid},
where templateTargetID = #{templateTargetID}
delete from ivr_liba_templatetarget where templateTargetID = #{templateTargetID}
delete from ivr_liba_templatetarget where templateTargetID in
#{templateTargetID}