Commit 2e06b1ce authored by 刘基明's avatar 刘基明

产品名修复

parent b540ee0c
......@@ -24,6 +24,9 @@ public class FundInfoBaseResp {
@ApiModelProperty("基金名称")
private String productName;
@ApiModelProperty("基金名称")
private String fundName;
@ApiModelProperty("产品类型")
private Integer productType;
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment