select id, schemeid, guid, triggersceneid, triggerruleid, taskconfigid, executetype, executefailtype, executefailvalue, executefailunit, executetemplate, executetemplateextra, executeorder, executevoicetype, executevoicecontent, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from scheme_taskrepeatconfig
    
    
    
    
        insert into scheme_taskrepeatconfig
        
            schemeid,
            triggersceneid,
            triggerruleid,
            taskconfigid,
            executetype,
            executefailtype,
            executefailvalue,
            executefailunit,
            executetemplate,
            executetemplateextra,
            executeorder,
            executevoicetype,
            executevoicecontent,
            orgid,
            del_flag,
            update_by,
            update_time,
            create_by,
            create_time,
            isupload,
            upload_time,
            guid,
         
        
            #{schemeid},
            #{triggersceneid},
            #{triggerruleid},
            #{taskconfigid},
            #{executetype},
            #{executefailtype},
            #{executefailvalue},
            #{executefailunit},
            #{executetemplate},
            #{executetemplateextra},
            #{executeorder},
            #{executevoicetype},
            #{executevoicecontent},
            #{orgid},
            #{delFlag},
            #{updateBy},
            #{updateTime},
            #{createBy},
            #{createTime},
            #{isupload},
            #{uploadTime},
            #{guid},
         
    
    
        update scheme_taskrepeatconfig
        
            schemeid = #{schemeid},
            triggersceneid = #{triggersceneid},
            triggerruleid = #{triggerruleid},
            taskconfigid = #{taskconfigid},
            executetype = #{executetype},
            executefailtype = #{executefailtype},
            executefailvalue = #{executefailvalue},
            executefailunit = #{executefailunit},
            executetemplate = #{executetemplate},
            executetemplateextra = #{executetemplateextra},
            executeorder = #{executeorder},
            executevoicetype = #{executevoicetype},
            executevoicecontent = #{executevoicecontent},
            orgid = #{orgid},
            del_flag = #{delFlag},
            update_by = #{updateBy},
            update_time = #{updateTime},
            create_by = #{createBy},
            create_time = #{createTime},
            isupload = #{isupload},
            upload_time = #{uploadTime},
            guid = #{guid},
        
        where id = #{id}
    
    
        delete from scheme_taskrepeatconfig where id = #{id}
    
    
        delete from scheme_taskrepeatconfig where id in
        
            #{id}