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
d297ec86
Commit
d297ec86
authored
Mar 01, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自选
parent
c7d8df64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
ProductPrivateServiceImpl.java
...om/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
+12
-2
No files found.
src/main/java/com/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
View file @
d297ec86
...
...
@@ -371,7 +371,7 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
}
// 其他基金信息
otherFundInfo
(
vo
,
id
,
page
);
otherFundInfo
(
vo
,
id
,
ifaId
,
page
);
if
(
StringUtils
.
isEmpty
(
ifaId
))
{
vo
.
setIsCheck
(
0
);
...
...
@@ -394,7 +394,7 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
return
personnelInfos
.
stream
().
collect
(
Collectors
.
toMap
(
PersonnelInfo:
:
getId
,
s
->
s
));
}
private
void
otherFundInfo
(
FundCompanyVO
vo
,
String
id
,
Pageable
page
)
{
private
void
otherFundInfo
(
FundCompanyVO
vo
,
String
id
,
String
ifaId
,
Pageable
page
)
{
FundInfoExample
example1
=
new
FundInfoExample
();
example1
.
createCriteria
().
andTrustIdEqualTo
(
id
).
andDeleteTagEqualTo
(
ZERO_NUM
);
...
...
@@ -414,6 +414,15 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
List
<
FundCount
>
fundCounts
=
this
.
fundCountMapper
.
selectByExample
(
example2
);
if
(
CollectionUtils
.
isNotEmpty
(
fundCounts
))
{
Set
<
String
>
isCheckSet
;
if
(
StringUtils
.
isEmpty
(
ifaId
))
{
isCheckSet
=
new
HashSet
<>(
0
);
}
else
{
isCheckSet
=
Sets
.
newHashSet
(
diagnose
.
getFundCollectInfo
(
ExternalReq
.
builder
().
ids
(
list
).
ifaId
(
ifaId
).
build
()).
getAttributes
());
}
fundCounts
.
sort
(
Comparator
.
comparing
(
FundCount:
:
getRetIncep
).
reversed
());
FundCount
fundCount
=
fundCounts
.
get
(
0
);
...
...
@@ -437,6 +446,7 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
FundInfoVO
vo1
=
new
FundInfoVO
();
String
fundId
=
f
.
getFundId
();
vo1
.
setFundId
(
fundId
);
vo1
.
setIsCheck
(
isCheckSet
.
contains
(
fundId
)
?
1
:
0
);
vo1
.
setBonusTypeName
(
ProTypeEnums
.
getName
(
mapFundInfo
.
get
(
fundId
).
getFundType
()));
vo1
.
setBonusType
(
mapFundInfo
.
get
(
fundId
).
getFundType
());
vo1
.
setRetIncep
(
multiply100
(
f
.
getRetIncep
()));
...
...
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