批量提交一次迁移的代码
完成 get-info 接口,完成和前端 vue 的对接
This commit is contained in:
@@ -14,8 +14,8 @@ import java.util.stream.Collectors;
|
||||
*/
|
||||
public class CollectionUtils {
|
||||
|
||||
public static <T> Set<T> asSet(T... objs) {
|
||||
return new HashSet<>(Arrays.asList(objs));
|
||||
public static boolean isAnyEmpty(Collection<?>... collections) {
|
||||
return Arrays.stream(collections).anyMatch(CollectionUtil::isEmpty);
|
||||
}
|
||||
|
||||
public static <T> List<T> filterList(Collection<T> from, Predicate<T> predicate) {
|
||||
|
Reference in New Issue
Block a user