Commit d33af49d authored by zp's avatar zp

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

parents dcbb181c 6bc1fe8e
......@@ -154,7 +154,7 @@ public class ProductServiceImpl implements ProductService, Constant {
PageMethod.startPage(1, 1);
FundNavExample navExample = new FundNavExample();
navExample.createCriteria().andFundIdEqualTo(id).andDeleteTagEqualTo(BizEnums.DeleteTag.tag_init);
navExample.setOrderByClause("price_date dec");
navExample.setOrderByClause("price_date desc");
List<FundNav> fundNavList = fundNavMapper.selectByExample(navExample);
if (CollectionUtils.isNotEmpty(fundNavList)) {
vo.setNet(Net.builder().netDate(fundNavList.get(0).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