select id, targetid, is_end, score, appendflag, appenddesc, scriptid, targetname, templateID, targettype, categoryName, targetvalue, targetregex, targetregex2, nodynamiccruxs, dynamiccruxs, targetid, option_no, next_question, optiondesc, language, version, groupid, isabnormal, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid from ivr_liba_template_targetoption insert into ivr_liba_template_targetoption targetid, targetname, templateID, scriptid, targettype, categoryName, targetvalue, targetregex, targetregex2, optiondesc, language, version, groupid, isabnormal, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, next_question, nodynamiccruxs, dynamiccruxs, appendflag, appenddesc, option_no, score, is_end, #{targetid}, #{targetname}, #{templateID}, #{scriptid}, #{targettype}, #{categoryName}, #{targetvalue}, #{targetregex}, #{targetregex2}, #{optiondesc}, #{language}, #{version}, #{groupid}, #{isabnormal}, #{delFlag}, #{updateBy}, #{updateTime}, #{createBy}, #{createTime}, #{isupload}, #{uploadTime}, #{orgid}, #{pid}, #{guid}, #{nextQuestion}, #{nodynamiccruxsJson}, #{dynamiccruxsJson}, #{appendflag}, #{appenddesc}, #{optionNo}, #{score}, #{isEnd}, update ivr_liba_template_targetoption targetid = #{targetid}, scriptid = #{scriptid}, targetname = #{targetname}, templateID = #{templateID}, targettype = #{targettype}, categoryName = #{categoryName}, targetvalue = #{targetvalue}, targetregex = #{targetregex}, targetregex2 = #{targetregex2}, optiondesc = #{optiondesc}, language = #{language}, version = #{version}, groupid = #{groupid}, isabnormal = #{isabnormal}, 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}, next_question = #{nextQuestion}, nodynamiccruxs = #{nodynamiccruxsJson}, dynamiccruxs = #{dynamiccruxsJson}, appendflag = #{appendflag}, appenddesc = #{appenddesc}, option_no = #{optionNo}, score = #{score}, is_end = #{isEnd}, where id = #{id} update ivr_liba_template_targetoption nodynamiccruxs = #{nodynamiccruxsJson}, dynamiccruxs = #{dynamiccruxsJson}, where id = #{id} update ivr_liba_template_targetoption del_flag = 1 where id = #{id} delete from ivr_liba_template_targetoption where id in #{id}