Commit 0085289b authored by zp's avatar zp

配置1

parent 0136b947
......@@ -78,9 +78,15 @@ public class ProductServiceImpl implements ProductService, Constant {
@Resource
private FundInfoCustomMapper fundInfoCustomMapper;
@Resource
private FundRiskStatsMapper fundRiskStatsMapper;
@Resource
private FeignClientForFatools fatools;
@Resource
private FundRateMappingMapper fundRateMappingMapper;
@Override
public Page<ProductInfoVO> getProductList(ProductInfoReq req) {
......@@ -1026,7 +1032,7 @@ public class ProductServiceImpl implements ProductService, Constant {
// 查询研报信息是否有研报
Map<String, Object> fundInfoReport = getFundReport(Lists.newArrayList(fundInfoMap.keySet()));
return fundCounts.stream().map(p -> getProductInfoVO(fundInfoMap, indexIdMap, rateMappingMap, p, productLabelMap, labelUtil, fundInfoReport.keySet()))
return fundCounts.stream().map(p -> getProductInfoVO(fundInfoMap, rateMappingMap, p, productLabelMap, labelUtil, fundInfoReport.keySet()))
.collect(Collectors.toList());
}
......@@ -1204,7 +1210,7 @@ public class ProductServiceImpl implements ProductService, Constant {
example.setOrderByClause("end_date desc");
DynamicRetreatVO vo = new DynamicRetreatVO();
/*List<FundRiskStats> fundRiskStats = this.fundRiskStatsMapper.selectByExample(example);
List<FundRiskStats> fundRiskStats = this.fundRiskStatsMapper.selectByExample(example);
if (CollectionUtils.isNotEmpty(fundRiskStats)) {
List<Net> nets = new ArrayList<>();
Optional<FundRiskStats> maxOptional = fundRiskStats.stream()
......@@ -1224,7 +1230,7 @@ public class ProductServiceImpl implements ProductService, Constant {
.orElse(null)
);
vo.setByTime(nets.get(nets.size() - 1).getNetDate());
}*/
}
return vo;
}
......
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