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