Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tamp_fund
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周鹏
tamp_fund
Commits
1d67c99a
Commit
1d67c99a
authored
Apr 07, 2021
by
张亚辉
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2.0.0' into dev
parents
2f4d30ab
5da084ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ProductServiceImpl.java
.../java/com/tanpu/fund/service/impl/ProductServiceImpl.java
+2
-1
No files found.
src/main/java/com/tanpu/fund/service/impl/ProductServiceImpl.java
View file @
1d67c99a
...
...
@@ -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
<>();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment