feat:行情

This commit is contained in:
rplees
2023-12-04 14:17:13 +08:00
parent 79efb022b3
commit 93fc03bfa9
11 changed files with 616 additions and 202 deletions

View File

@@ -47,7 +47,7 @@ public class CommonApis {
public Map<String, StockVO> stockDetailMap(List<StockCode> code) {
Function<StockSource, List<StockCode>> func = (source) -> {
return code.stream()
.filter(val -> val != null && source == val.getSource())
// .filter(val -> val != null && source == val.getSource())
.collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(StockCode::getCode))), ArrayList::new));
};