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
dc586c81
Commit
dc586c81
authored
Sep 26, 2021
by
王业雄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6b19e1b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ChannelRouteServiceImpl.java
...tribution/service/route/impl/ChannelRouteServiceImpl.java
+1
-1
FundProductServiceImpl.java
...stribution/service/route/impl/FundProductServiceImpl.java
+1
-1
No files found.
src/main/java/com/quantgroup/asset/distribution/service/route/impl/ChannelRouteServiceImpl.java
View file @
dc586c81
...
@@ -142,7 +142,7 @@ public class ChannelRouteServiceImpl implements IChannelRouteService {
...
@@ -142,7 +142,7 @@ public class ChannelRouteServiceImpl implements IChannelRouteService {
List
<
FundProductEntity
>
fundProductEntityList
=
fundProductRepository
.
getAllByEnableEquals
(
Byte
.
valueOf
(
"1"
));
List
<
FundProductEntity
>
fundProductEntityList
=
fundProductRepository
.
getAllByEnableEquals
(
Byte
.
valueOf
(
"1"
));
List
<
Long
>
fundIdList
=
new
ArrayList
<>();
List
<
Long
>
fundIdList
=
new
ArrayList
<>();
fundProductEntityList
.
stream
().
forEach
(
fundProductEntity
->
{
fundProductEntityList
.
stream
().
forEach
(
fundProductEntity
->
{
if
(!
fundIdList
.
contains
(
fundProductEntity
.
getFundId
())){
if
(!
fundIdList
.
contains
(
fundProductEntity
.
getFundId
())
&&
!
StringUtils
.
isEmpty
(
fundProductEntity
.
getBasicRule
())
){
fundIdList
.
add
(
fundProductEntity
.
getFundId
());
fundIdList
.
add
(
fundProductEntity
.
getFundId
());
}
}
});
});
...
...
src/main/java/com/quantgroup/asset/distribution/service/route/impl/FundProductServiceImpl.java
View file @
dc586c81
...
@@ -301,7 +301,7 @@ public class FundProductServiceImpl implements IFundProductService {
...
@@ -301,7 +301,7 @@ public class FundProductServiceImpl implements IFundProductService {
basicRule
.
append
(
" || "
);
basicRule
.
append
(
" || "
);
}
}
}
}
basicRule
.
append
(
")"
);
basicRule
.
append
(
")"
)
.
append
(
" && "
)
;
//basicRule.append("term == ").append(value).append(" && ");
//basicRule.append("term == ").append(value).append(" && ");
break
;
break
;
...
...
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