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
6f2cf665
Commit
6f2cf665
authored
Oct 25, 2021
by
胡定国
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'search_20211025' into dev
parents
33511cd7
4717a79d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ProductPrivateServiceImpl.java
...om/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
+2
-2
No files found.
src/main/java/com/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
View file @
6f2cf665
...
...
@@ -543,9 +543,9 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
if
(!
resp
.
isSuccess
()
||
CollectionUtils
.
isEmpty
(
resp
.
getAttributes
()))
{
return
Lists
.
newArrayList
();
}
// 排除
不需要的策略(白名单产品策略)
// 排除
白名单相关策略
List
<
String
>
excludeCodes
=
Lists
.
newArrayList
(
"9010"
,
"9020"
,
"9030"
,
"9040"
,
"9050"
,
"7030"
);
return
resp
.
attributes
.
stream
().
filter
(
v
->
!
excludeCodes
.
contains
(
v
)).
map
(
item
->
{
return
resp
.
attributes
.
stream
().
filter
(
v
->
!
excludeCodes
.
contains
(
v
.
getConstantCode
()
)).
map
(
item
->
{
SysConstantVO
vo
=
new
SysConstantVO
();
vo
.
setConstantCode
(
item
.
getConstantCode
());
vo
.
setConstantName
(
item
.
getConstantName
());
...
...
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