select id, finshresultdetailid, psqoptionid, content, score, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, guid, upload_time, isabnormal, isrobot from svy_finishoption
    
    
    
    
        insert into svy_finishoption
        
            finshresultdetailid,
            psqoptionid,
            content,
            score,
            orgid,
            del_flag,
            update_by,
            update_time,
            create_by,
            create_time,
            isupload,
            upload_time,
            isabnormal,
            isrobot,
            guid,
         
        
            #{finshresultdetailid},
            #{psqoptionid},
            #{content},
            #{score},
            #{orgid},
            #{delFlag},
            #{updateBy},
            #{updateTime},
            #{createBy},
            #{createTime},
            #{isupload},
            #{uploadTime},
            #{isabnormal},
            #{isrobot},
            #{guid},
         
    
    
        update svy_finishoption
        
            finshresultdetailid = #{finshresultdetailid},
            psqoptionid = #{psqoptionid},
            content = #{content},
            score = #{score},
            orgid = #{orgid},
            del_flag = #{delFlag},
            update_by = #{updateBy},
            update_time = #{updateTime},
            create_by = #{createBy},
            create_time = #{createTime},
            isupload = #{isupload},
            upload_time = #{uploadTime},
            isabnormal = #{isabnormal},
            isrobot = #{isrobot},
            guid = #{guid},
        
        where id = #{id}
    
    
        delete from svy_finishoption where id = #{id}
    
    
        delete from svy_finishoption where id in
        
            #{id}