mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-30 09:48:43 +08:00 
			
		
		
		
	完成 system_oauth2_approve 相关的批准逻辑
This commit is contained in:
		| @@ -68,6 +68,13 @@ public class CollectionUtils { | ||||
|         return from.stream().map(func).filter(Objects::nonNull).collect(Collectors.toSet()); | ||||
|     } | ||||
|  | ||||
|     public static <T, U> Set<U> convertSet(Collection<T> from, Function<T, U> func, Predicate<T> filter) { | ||||
|         if (CollUtil.isEmpty(from)) { | ||||
|             return new HashSet<>(); | ||||
|         } | ||||
|         return from.stream().filter(filter).map(func).filter(Objects::nonNull).collect(Collectors.toSet()); | ||||
|     } | ||||
|  | ||||
|     public static <T, K> Map<K, T> convertMap(Collection<T> from, Function<T, K> keyFunc) { | ||||
|         if (CollUtil.isEmpty(from)) { | ||||
|             return new HashMap<>(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV