select id,
targetid,
is_end,
picture_path,
targetname,
appendflag,
appenddesc,
scriptid,
targettype,
categoryName,
targetvalue,
targetregex,
targetregex2,
nodynamiccruxs,
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_script_targetoption
insert into ivr_liba_script_targetoption
id,
targetid,
targetname,
scriptid,
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,
appendflag,
appenddesc,
picture_path,
is_end,
#{id},
#{targetid},
#{targetname},
#{scriptid},
#{targettype},
#{categoryName},
#{targetvalue},
#{targetregex},
#{targetregex2},
#{optiondesc},
#{language},
#{version},
#{groupid},
#{isabnormal},
#{warnup},
#{warndown},
#{delFlag},
#{updateBy},
#{updateTime},
#{createBy},
#{createTime},
#{isupload},
#{uploadTime},
#{orgid},
#{pid},
#{guid},
#{nodynamiccruxsJson},
#{dynamiccruxsJson},
#{appendflag},
#{appenddesc},
#{picturePath},
#{isEnd},
update ivr_liba_script_targetoption
targetid = #{targetid},
targetname = #{targetname},
scriptid = #{scriptid},
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},
appendflag = #{appendflag},
appenddesc = #{appenddesc},
picture_path = #{picturePath},
is_end = #{isEnd},
where id = #{id}
update ivr_liba_script_targetoption
nodynamiccruxs = "",
dynamiccruxs = "",
where id = #{id}
update ivr_liba_script_targetoption
del_flag = 1
where id = #{id}