Commit 1d67c99a authored by 张亚辉's avatar 张亚辉

Merge branch 'v2.0.0' into dev

parents 2f4d30ab 5da084ac
......@@ -1484,7 +1484,8 @@ public class ProductServiceImpl implements ProductService, Constant {
fundNavs = fundNavs.stream().collect(
Collectors.collectingAndThen(
Collectors.toCollection(() ->
new TreeSet<>(Comparator.comparing(IfaImportedFundNav::getPriceDate))), ArrayList::new));
new TreeSet<>(Comparator.comparing(IfaImportedFundNav::getPriceDate))), ArrayList::new))
.stream().sorted(Comparator.comparing(IfaImportedFundNav::getPriceDate).reversed()).collect(Collectors.toList());
//计算 日涨幅=(今日净值-前一日净值)/前一日净值
List<TrackNetVO> list = new ArrayList<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment