Commit 00b20a85 authored by 张亚辉's avatar 张亚辉

私有基金净值

parent e6caf7b3
......@@ -1436,7 +1436,7 @@ public class ProductServiceImpl implements ProductService, Constant {
PageMethod.startPage(1, 1);
IfaImportedFundNavExample navExample = new IfaImportedFundNavExample();
navExample.createCriteria().andFundIdEqualTo(id).andDeleteTagEqualTo(BizEnums.DeleteTag.tag_init);
navExample.setOrderByClause("price_date");
navExample.setOrderByClause("price_date desc");
List<IfaImportedFundNav> navList = ifaImportedFundNavMapper.selectByExample(navExample);
if (CollectionUtils.isNotEmpty(navList)) {
detailResp.setNet(Net.builder().netDate(navList.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