Skip to main content

Command Palette

Search for a command to run...

2022年05月23日 分页请求数据

Published
1 min read
List<String> res=  Lists.partition(ids, 200).parallelStream()
 .flatMap(batch -> mServiceA.batchGetA(batch).stream())
 .collect(Collectors.toList());