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

私募

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