select id, task_script_id, svyid, script_type, optioncode, optioncontent, tag, isexistdetail, detailismandatory, isexceptionitem, istrack, withadditional, 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, pid, guid, taskid, nexttopicid, nexttopicsort, scoretype, showtype, picture_path from svy_task_scriptoption
    
    
    
    
        insert into svy_task_scriptoption
        
            task_script_id,
            svyid,
            script_type,
            optioncode,
            optioncontent,
            tag,
            isexistdetail,
            detailismandatory,
            isexceptionitem,
            istrack,
            withadditional,
            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,
            pid,
            guid,
            taskid,
            nexttopicid,
            nexttopicsort,
            scoretype,
            showtype,
            picture_path,
         
        
            #{taskScriptId},
            #{svyid},
            #{scriptType},
            #{optioncode},
            #{optioncontent},
            #{tag},
            #{isexistdetail},
            #{detailismandatory},
            #{isexceptionitem},
            #{istrack},
            #{withadditional},
            #{score},
            #{prompt},
            #{jump},
            #{parentoptionid},
            #{ismutex},
            #{verifyrule},
            #{sort},
            #{verificationtype},
            #{isrange},
            #{minrange},
            #{maxrange},
            #{rangelength},
            #{orgid},
            #{oldid},
            #{delFlag},
            #{createBy},
            #{createTime},
            #{updateBy},
            #{updateTime},
            #{isupload},
            #{uploadTime},
            #{pid},
            #{guid},
            #{taskid},
            #{nexttopicid},
            #{nexttopicsort},
            #{scoretype},
            #{showtype},
            #{picturePath},
         
    
    
        update svy_task_scriptoption
        
            task_script_id = #{taskScriptId},
            svyid = #{svyid},
            script_type = #{scriptType},
            optioncode = #{optioncode},
            optioncontent = #{optioncontent},
            tag = #{tag},
            isexistdetail = #{isexistdetail},
            detailismandatory = #{detailismandatory},
            isexceptionitem = #{isexceptionitem},
            istrack = #{istrack},
            withadditional = #{withadditional},
            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},
            pid = #{pid},
            guid = #{guid},
            taskid = #{taskid},
            nexttopicid = #{nexttopicid},
            nexttopicsort = #{nexttopicsort},
            scoretype = #{scoretype},
            showtype = #{showtype},
            picture_path = #{picturePath},
        
        where id = #{id}
    
    
        delete from svy_task_scriptoption where id = #{id}
    
    
        delete from svy_task_scriptoption where id in
        
            #{id}