Commit 1911a79b authored by 张亚辉's avatar 张亚辉

文章产品

parent a72d888d
...@@ -1153,16 +1153,16 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1153,16 +1153,16 @@ public class ProductServiceImpl implements ProductService, Constant {
Map<String, FundRateMapping> rateMappingMap = getStringFundRateMappingMap(list); Map<String, FundRateMapping> rateMappingMap = getStringFundRateMappingMap(list);
// 查询研报信息是否有研报 // 查询研报信息是否有研报
Map<String, Object> fundInfoReport = getFundReport(Lists.newArrayList(fundInfoMap.keySet())); // Map<String, Object> fundInfoReport = getFundReport(Lists.newArrayList(fundInfoMap.keySet()));
return fundCounts.stream().map(p -> getProductInfoVO(fundInfoMap, rateMappingMap, p, fundInfoReport.keySet(), productType)) return fundCounts.stream().map(p -> getProductInfoVO(fundInfoMap, rateMappingMap, p, null, productType))
.collect(Collectors.toList()); .collect(Collectors.toList());
} }
private Map<String, Object> getFundReport(List<String> list) { // private Map<String, Object> getFundReport(List<String> list) {
String ids = list.stream().collect(Collectors.joining("','", "'", "'")); // String ids = list.stream().collect(Collectors.joining("','", "'", "'"));
return fundInfoCustomMapper.getFundInfoReport(ids); // return fundInfoCustomMapper.getFundInfoReport(ids);
} // }
private ProductInfoVO getProductInfoVO(Map<String, FundInfo> fundInfoMap, Map<String, FundRateMapping> rateMappingMap, private ProductInfoVO getProductInfoVO(Map<String, FundInfo> fundInfoMap, Map<String, FundRateMapping> rateMappingMap,
FundCount fundCount, FundCount fundCount,
......
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