Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tanpu-community
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
探普后端
tanpu-community
Commits
2e06b1ce
Commit
2e06b1ce
authored
Feb 23, 2022
by
刘基明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品名修复
parent
b540ee0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
FundInfoBaseResp.java
...ommunity/api/beans/vo/feign/product/FundInfoBaseResp.java
+3
-0
BatchFeignCallService.java
...va/com/tanpu/community/service/BatchFeignCallService.java
+4
-0
No files found.
community-api/src/main/java/com/tanpu/community/api/beans/vo/feign/product/FundInfoBaseResp.java
View file @
2e06b1ce
...
...
@@ -24,6 +24,9 @@ public class FundInfoBaseResp {
@ApiModelProperty
(
"基金名称"
)
private
String
productName
;
@ApiModelProperty
(
"基金名称"
)
private
String
fundName
;
@ApiModelProperty
(
"产品类型"
)
private
Integer
productType
;
...
...
community-service/src/main/java/com/tanpu/community/service/BatchFeignCallService.java
View file @
2e06b1ce
...
...
@@ -292,6 +292,7 @@ public class BatchFeignCallService {
List
<
FundInfoBaseResp
>
fundInfoBaseRespList
=
list
.
stream
().
map
(
item
->
{
FundInfoBaseResp
fundInfoBaseResp
=
FundInfoBaseResp
.
builder
().
build
();
BeanUtils
.
copyProperties
(
item
,
fundInfoBaseResp
);
fundInfoBaseResp
.
setProductName
(
item
.
getFundName
());
return
fundInfoBaseResp
;
}).
collect
(
Collectors
.
toList
());
tampFundMap
=
fundInfoBaseRespList
.
stream
().
collect
(
Collectors
.
toMap
(
FundInfoBaseResp:
:
getFundId
,
item
->
item
));
...
...
@@ -307,6 +308,7 @@ public class BatchFeignCallService {
List
<
FundInfoBaseResp
>
fundInfoBaseRespList
=
list
.
stream
().
map
(
item
->
{
FundInfoBaseResp
fundInfoBaseResp
=
FundInfoBaseResp
.
builder
().
build
();
BeanUtils
.
copyProperties
(
item
,
fundInfoBaseResp
);
fundInfoBaseResp
.
setProductName
(
item
.
getFundName
());
return
fundInfoBaseResp
;
}).
collect
(
Collectors
.
toList
());
privateFundMap
=
fundInfoBaseRespList
.
stream
().
collect
(
Collectors
.
toMap
(
FundInfoBaseResp:
:
getFundId
,
item
->
item
));
...
...
@@ -322,6 +324,7 @@ public class BatchFeignCallService {
List
<
FundInfoBaseResp
>
fundInfoBaseRespList
=
list
.
stream
().
map
(
item
->
{
FundInfoBaseResp
fundInfoBaseResp
=
FundInfoBaseResp
.
builder
().
build
();
BeanUtils
.
copyProperties
(
item
,
fundInfoBaseResp
);
fundInfoBaseResp
.
setProductName
(
item
.
getFundName
());
return
fundInfoBaseResp
;
}).
collect
(
Collectors
.
toList
());
ifaFundMap
=
fundInfoBaseRespList
.
stream
().
collect
(
Collectors
.
toMap
(
FundInfoBaseResp:
:
getFundId
,
item
->
item
));
...
...
@@ -338,6 +341,7 @@ public class BatchFeignCallService {
List
<
FundInfoBaseResp
>
fundInfoBaseRespList
=
list
.
stream
().
map
(
item
->
{
FundInfoBaseResp
fundInfoBaseResp
=
FundInfoBaseResp
.
builder
().
build
();
BeanUtils
.
copyProperties
(
item
,
fundInfoBaseResp
);
fundInfoBaseResp
.
setProductName
(
item
.
getFundName
());
return
fundInfoBaseResp
;
}).
collect
(
Collectors
.
toList
());
publicFundMap
=
fundInfoBaseRespList
.
stream
().
collect
(
Collectors
.
toMap
(
FundInfoBaseResp:
:
getFundId
,
item
->
item
));
...
...
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