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

文章产品

parent a72d888d
......@@ -1153,16 +1153,16 @@ public class ProductServiceImpl implements ProductService, Constant {
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());
}
private Map<String, Object> getFundReport(List<String> list) {
String ids = list.stream().collect(Collectors.joining("','", "'", "'"));
return fundInfoCustomMapper.getFundInfoReport(ids);
}
// private Map<String, Object> getFundReport(List<String> list) {
// String ids = list.stream().collect(Collectors.joining("','", "'", "'"));
// return fundInfoCustomMapper.getFundInfoReport(ids);
// }
private ProductInfoVO getProductInfoVO(Map<String, FundInfo> fundInfoMap, Map<String, FundRateMapping> rateMappingMap,
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