fix 角色ID冲突解决
This commit is contained in:
parent
1205323b3d
commit
c3211f3916
@ -61,6 +61,7 @@ import java.util.*;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.concurrent.Executor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.function.BinaryOperator;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@ -929,6 +930,9 @@ public class TyrSaasAuthServiceImpl implements TyrSaasAuthService {
|
||||
return new HashSet<>(CollectionUtil.intersection(allFeatureIds, currentPermissionId));
|
||||
|
||||
|
||||
}, (oldFeatureLists, newFeatureLists) -> {
|
||||
oldFeatureLists.addAll(newFeatureLists);
|
||||
return oldFeatureLists;
|
||||
}));
|
||||
}
|
||||
@Data
|
||||
|
||||
Loading…
Reference in New Issue
Block a user