Commit 2761daa0 authored by 张亚辉's avatar 张亚辉

私募

parent 4f23dd54
...@@ -1229,7 +1229,7 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1229,7 +1229,7 @@ public class ProductServiceImpl implements ProductService, Constant {
vo.setIsAppoint(fundInfo.getType()); vo.setIsAppoint(fundInfo.getType());
// 最新净值 // 最新净值
if (fundNavMap.containsKey(fundId)) { if (fundNavMap != null && fundNavMap.containsKey(fundId)) {
FundNav fundNav = fundNavMap.get(fundId); FundNav fundNav = fundNavMap.get(fundId);
vo.setNet(new Net(fundNav.getPriceDate().getTime(), vo.setNet(new Net(fundNav.getPriceDate().getTime(),
BigDecimalUtil.toString(fundNav.getNav(), 4), BigDecimalUtil.toString(fundNav.getNav(), 4),
......
...@@ -37,8 +37,7 @@ ...@@ -37,8 +37,7 @@
#{fundId} #{fundId}
</foreach> </foreach>
order BY price_date desc) res order BY price_date desc) res
GROUP BY res.fund_id; GROUP BY res.fund_id
AND delete_tag = 0
</select> </select>
</mapper> </mapper>
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