select id,
topicid,
svyid,
guid,
picture_path,
appendflag,
appenddesc,
topictype,
optioncode,
optioncontent,
isexistdetail,
detailismandatory,
isabnormal,
istrack,
score,
prompt,
jump,
parentoptionid,
ismutex,
verifyrule,
sort,
verificationtype,
isrange,
minrange,
maxrange,
rangelength,
orgid,
oldid,
del_flag,
create_by,
create_time,
update_by,
update_time,
isupload,
upload_time
from svy_lib_ScriptOption
insert into svy_lib_ScriptOption
topicid,
svyid,
topictype,
optioncode,
optioncontent,
isexistdetail,
detailismandatory,
isabnormal,
istrack,
score,
prompt,
jump,
parentoptionid,
ismutex,
verifyrule,
sort,
verificationtype,
isrange,
minrange,
maxrange,
rangelength,
orgid,
oldid,
del_flag,
create_by,
create_time,
update_by,
update_time,
isupload,
upload_time,
appendflag,
appenddesc,
picture_path,
guid,
#{topicid},
#{svyid},
#{topictype},
#{optioncode},
#{optioncontent},
#{isexistdetail},
#{detailismandatory},
#{isabnormal},
#{istrack},
#{score},
#{prompt},
#{jump},
#{parentoptionid},
#{ismutex},
#{verifyrule},
#{sort},
#{verificationtype},
#{isrange},
#{minrange},
#{maxrange},
#{rangelength},
#{orgid},
#{oldid},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{isupload},
#{uploadTime},
#{appendflag},
#{appenddesc},
#{picturePath},
#{guid},
update svy_lib_ScriptOption
topicid = #{topicid},
svyid = #{svyid},
topictype = #{topictype},
optioncode = #{optioncode},
optioncontent = #{optioncontent},
isexistdetail = #{isexistdetail},
detailismandatory = #{detailismandatory},
isabnormal = #{isabnormal},
istrack = #{istrack},
score = #{score},
prompt = #{prompt},
jump = #{jump},
parentoptionid = #{parentoptionid},
ismutex = #{ismutex},
verifyrule = #{verifyrule},
sort = #{sort},
verificationtype = #{verificationtype},
isrange = #{isrange},
minrange = #{minrange},
maxrange = #{maxrange},
rangelength = #{rangelength},
orgid = #{orgid},
oldid = #{oldid},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
isupload = #{isupload},
upload_time = #{uploadTime},
appendflag = #{appendflag},
appenddesc = #{appenddesc},
picture_path = #{picturePath},
where id = #{id}
update svy_lib_ScriptOption
del_flag = 1
where id = #{id}
delete from svy_lib_ScriptOption where id in
#{id}