Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asset-distribution
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
asset-distribution
Commits
0d302a8f
Commit
0d302a8f
authored
Sep 26, 2021
by
王业雄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
e58ab7fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ChannelRouteServiceImpl.java
...tribution/service/route/impl/ChannelRouteServiceImpl.java
+1
-1
No files found.
src/main/java/com/quantgroup/asset/distribution/service/route/impl/ChannelRouteServiceImpl.java
View file @
0d302a8f
...
@@ -154,7 +154,7 @@ public class ChannelRouteServiceImpl implements IChannelRouteService {
...
@@ -154,7 +154,7 @@ public class ChannelRouteServiceImpl implements IChannelRouteService {
List
<
FundProductEntity
>
fundProductEntityList
=
fundProductRepository
.
getAllByFundIdEqualsAndEnableEquals
(
fundId
,
Byte
.
valueOf
(
"1"
));
List
<
FundProductEntity
>
fundProductEntityList
=
fundProductRepository
.
getAllByFundIdEqualsAndEnableEquals
(
fundId
,
Byte
.
valueOf
(
"1"
));
List
<
Long
>
fundCorpList
=
new
ArrayList
<>();
List
<
Long
>
fundCorpList
=
new
ArrayList
<>();
fundProductEntityList
.
stream
().
forEach
(
fundProductEntity
->
{
fundProductEntityList
.
stream
().
forEach
(
fundProductEntity
->
{
if
(!
fundCorpList
.
contains
(
fundProductEntity
.
getFundProId
())){
if
(!
fundCorpList
.
contains
(
fundProductEntity
.
getFundProId
())
&&
!
StringUtils
.
isEmpty
(
fundProductEntity
.
getBasicRule
())
){
fundCorpList
.
add
(
fundProductEntity
.
getFundProId
());
fundCorpList
.
add
(
fundProductEntity
.
getFundProId
());
}
}
});
});
...
...
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