select id,
groupid,
sort,
categoryName,
scriptid,
templateID,
targettype,
targetid,
targetname,
targetvalue,
isabnormal,
warnup,
warndown,
targetregex,
targetregex2,
dynamiccruxs,
nodynamiccruxs,
optioncontent,
next_question, language, version, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, picture_path, score, appendflag, appenddesc
from svy_lib_template_targetoption_wjx
insert into svy_lib_template_targetoption_wjx
groupid,
categoryName,
scriptid,
templateID,
targettype,
targetid,
targetname,
targetvalue,
isabnormal,
warnup,
warndown,
targetregex,
targetregex2,
dynamiccruxs,
nodynamiccruxs,
optioncontent,
next_question,
language,
version,
del_flag,
update_by,
update_time,
create_by,
create_time,
isupload,
upload_time,
orgid,
pid,
guid,
picture_path,
score,
appendflag,
appenddesc,
sort,
#{groupid},
#{categoryName},
#{scriptid},
#{templateID},
#{targettype},
#{targetid},
#{targetname},
#{targetvalue},
#{isabnormal},
#{warnup},
#{warndown},
#{targetregex},
#{targetregex2},
#{dynamiccruxs},
#{nodynamiccruxs},
#{optioncontent},
#{nextQuestion},
#{language},
#{version},
#{delFlag},
#{updateBy},
#{updateTime},
#{createBy},
#{createTime},
#{isupload},
#{uploadTime},
#{orgid},
#{pid},
#{guid},
#{picturePath},
#{score},
#{appendflag},
#{appenddesc},
#{sort},
update svy_lib_template_targetoption_wjx
groupid = #{groupid},
categoryName = #{categoryName},
scriptid = #{scriptid},
templateID = #{templateID},
targettype = #{targettype},
targetid = #{targetid},
targetname = #{targetname},
targetvalue = #{targetvalue},
isabnormal = #{isabnormal},
warnup = #{warnup},
warndown = #{warndown},
targetregex = #{targetregex},
targetregex2 = #{targetregex2},
dynamiccruxs = #{dynamiccruxs},
nodynamiccruxs = #{nodynamiccruxs},
optioncontent = #{optioncontent},
next_question = #{nextQuestion},
language = #{language},
version = #{version},
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},
picture_path = #{picturePath},
score = #{score},
appendflag = #{appendflag},
appenddesc = #{appenddesc},
sort = #{sort},
where id = #{id}
delete
from svy_lib_template_targetoption_wjx
where id = #{id}
delete from svy_lib_template_targetoption_wjx where id in
#{id}