Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tamp_public_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_public_fund
Commits
0085289b
Commit
0085289b
authored
Jan 26, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置1
parent
0136b947
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
ProductServiceImpl.java
.../java/com/tanpu/fund/service/impl/ProductServiceImpl.java
+9
-3
No files found.
src/main/java/com/tanpu/fund/service/impl/ProductServiceImpl.java
View file @
0085289b
...
...
@@ -78,9 +78,15 @@ public class ProductServiceImpl implements ProductService, Constant {
@Resource
private
FundInfoCustomMapper
fundInfoCustomMapper
;
@Resource
private
FundRiskStatsMapper
fundRiskStatsMapper
;
@Resource
private
FeignClientForFatools
fatools
;
@Resource
private
FundRateMappingMapper
fundRateMappingMapper
;
@Override
public
Page
<
ProductInfoVO
>
getProductList
(
ProductInfoReq
req
)
{
...
...
@@ -1026,7 +1032,7 @@ public class ProductServiceImpl implements ProductService, Constant {
// 查询研报信息是否有研报
Map
<
String
,
Object
>
fundInfoReport
=
getFundReport
(
Lists
.
newArrayList
(
fundInfoMap
.
keySet
()));
return
fundCounts
.
stream
().
map
(
p
->
getProductInfoVO
(
fundInfoMap
,
indexIdMap
,
rateMappingMap
,
p
,
productLabelMap
,
labelUtil
,
fundInfoReport
.
keySet
()))
return
fundCounts
.
stream
().
map
(
p
->
getProductInfoVO
(
fundInfoMap
,
rateMappingMap
,
p
,
productLabelMap
,
labelUtil
,
fundInfoReport
.
keySet
()))
.
collect
(
Collectors
.
toList
());
}
...
...
@@ -1204,7 +1210,7 @@ public class ProductServiceImpl implements ProductService, Constant {
example
.
setOrderByClause
(
"end_date desc"
);
DynamicRetreatVO
vo
=
new
DynamicRetreatVO
();
/*
List<FundRiskStats> fundRiskStats = this.fundRiskStatsMapper.selectByExample(example);
List
<
FundRiskStats
>
fundRiskStats
=
this
.
fundRiskStatsMapper
.
selectByExample
(
example
);
if
(
CollectionUtils
.
isNotEmpty
(
fundRiskStats
))
{
List
<
Net
>
nets
=
new
ArrayList
<>();
Optional
<
FundRiskStats
>
maxOptional
=
fundRiskStats
.
stream
()
...
...
@@ -1224,7 +1230,7 @@ public class ProductServiceImpl implements ProductService, Constant {
.
orElse
(
null
)
);
vo
.
setByTime
(
nets
.
get
(
nets
.
size
()
-
1
).
getNetDate
());
}
*/
}
return
vo
;
}
...
...
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