批量提交一次迁移的代码

完成 get-info 接口,完成和前端 vue 的对接
This commit is contained in:
YunaiV
2021-01-05 01:19:25 +08:00
parent 1345c663eb
commit 823c26a567
16 changed files with 205 additions and 49 deletions

View File

@@ -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) {