select targetoptionid, targetid, is_end, appendflag, picture_path, appenddesc, targettype, categoryName, targetvalue, targetregex, targetregex2, nodynamiccruxs, orderno, dynamiccruxs, optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid from ivr_liba_targetoption insert into ivr_liba_targetoption targetid, targettype, categoryName, targetvalue, targetregex, targetregex2, optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, nodynamiccruxs, dynamiccruxs, orderno, appendflag, appenddesc, picture_path, is_end, #{targetid}, #{targettype}, #{categoryName}, #{targetvalue}, #{targetregex}, #{targetregex2}, #{optiondesc}, #{language}, #{version}, #{groupid}, #{isabnormal}, #{warnup}, #{warndown}, #{delFlag}, #{updateBy}, #{updateTime}, #{createBy}, #{createTime}, #{isupload}, #{uploadTime}, #{orgid}, #{pid}, #{guid}, #{nodynamiccruxsJson}, #{dynamiccruxsJson}, #{orderno}, #{appendflag}, #{appenddesc}, #{picturePath}, #{isEnd}, update ivr_liba_targetoption targetid = #{targetid}, targettype = #{targettype}, categoryName = #{categoryName}, targetvalue = #{targetvalue}, targetregex = #{targetregex}, targetregex2 = #{targetregex2}, optiondesc = #{optiondesc}, language = #{language}, version = #{version}, groupid = #{groupid}, isabnormal = #{isabnormal}, warnup = #{warnup}, warndown = #{warndown}, 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}, nodynamiccruxs = #{nodynamiccruxsJson}, dynamiccruxs = #{dynamiccruxsJson}, orderno = #{orderno}, appendflag = #{appendflag}, appenddesc = #{appenddesc}, picture_path = #{picturePath}, is_end = #{isEnd}, where targetoptionid = #{targetoptionid} update ivr_liba_targetoption set del_flag = 1 where targetoptionid = #{targetoptionid} delete from ivr_liba_targetoption where targetoptionid in #{targetoptionid}