Commit 0d830699 authored by 张亚辉's avatar 张亚辉

私募基金搜索

parent bf46168c
......@@ -2513,11 +2513,11 @@ public class ProductServiceImpl implements ProductService, Constant {
Map<String, FundNav> finalFundNavMap = fundNavMap;
fundInfoList.forEach(c -> {
c.setFundType(ProductTypeEnum.TAMP.type);
if (finalFundCountMap.containsKey(c.getId())) {
if (finalFundCountMap != null && finalFundCountMap.containsKey(c.getId())) {
c.setRet1y(finalFundCountMap.get(c.getId()).getRet1y());
}
if (finalFundNavMap.containsKey(c.getId())) {
if (finalFundNavMap != null && finalFundNavMap.containsKey(c.getId())) {
c.setNet(BigDecimalUtil.toString(finalFundNavMap.get(c.getId()).getNav(), 4));
c.setNetDate(DateUtil.formatDate(finalFundNavMap.get(c.getId()).getPriceDate()));
}
......
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