Commit 6fd12fbc authored by 张亚辉's avatar 张亚辉

Merge branch 'dev' of 47.100.44.39:zhoupeng/tamp_fund into dev

parents 3db313ea baa2d93d
...@@ -200,7 +200,7 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -200,7 +200,7 @@ public class ProductServiceImpl implements ProductService, Constant {
BeanUtils.copyProperties(info, vo); BeanUtils.copyProperties(info, vo);
vo.setProductName(info.getFundShortName()); vo.setProductName(info.getFundShortName());
vo.setDesc(info.getDescInfo()); vo.setDesc(info.getDescInfo());
vo.setFundId(info.getId());
// 最新净值 // 最新净值
vo.setNet(getNewNet(info.getId())); vo.setNet(getNewNet(info.getId()));
vos.add(vo); vos.add(vo);
...@@ -1414,6 +1414,7 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1414,6 +1414,7 @@ public class ProductServiceImpl implements ProductService, Constant {
} }
ProductInfoVO p = new ProductInfoVO(); ProductInfoVO p = new ProductInfoVO();
p.setFundId(item.getId());
p.setProductName(item.getFundName()); p.setProductName(item.getFundName());
p.setRet1m(importedFundCount == null ? null : BigDecimalUtil.toString(importedFundCount.getRet1m(), 2)); p.setRet1m(importedFundCount == null ? null : BigDecimalUtil.toString(importedFundCount.getRet1m(), 2));
p.setNet(importedFundCount == null ? null : Net.builder().netDate(importedFundCount.getPriceDate().getTime()) p.setNet(importedFundCount == null ? null : Net.builder().netDate(importedFundCount.getPriceDate().getTime())
......
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