id, group_id, unit_id, `operator`,
        operate_time
    
    
    
        
        insert into ir_group_unit
        
            
                id,
            
            
                group_id,
            
            
                unit_id,
            
            
                `operator`,
            
            
                operate_time,
            
        
        
            
                #{id,jdbcType=BIGINT},
            
            
                #{groupId,jdbcType=BIGINT},
            
            
                #{unitId,jdbcType=BIGINT},
            
            
                #{operator,jdbcType=BIGINT},
            
            
                #{operateDt,jdbcType=TIMESTAMP},
            
        
    
    
        delete from ir_group_unit
        where group_id = #{groupId,jdbcType=BIGINT} and unit_id = #{unitId,jdbcType=BIGINT}
    
    
        delete from ir_group_unit
        where unit_id = #{unitId,jdbcType=BIGINT}
    
    
        delete from ir_group_unit
        where group_id = #{groupId,jdbcType=BIGINT}