Commit 92379b0a authored by 钱坤's avatar 钱坤

修复机构产品池获取最新净值调错函数问题

parent 06ad54bb
......@@ -28,6 +28,6 @@ public class ProductForPcController implements ProductForPcApi {
@Override
public CommonResp<List<Net>> getOrgfundNewnet(List<String> list) {
return CommonResp.success(productForPcService.getPrivatefundNewnet(list));
return CommonResp.success(productForPcService.getOrgfundNewnet(list));
}
}
......@@ -56,6 +56,9 @@ public class ProductForPcServiceImpl implements ProductForPcService {
@Override
public List<Net> getOrgfundNewnet(List<String> list) {
if (CollectionUtils.isEmpty(list)) {
return Collections.emptyList();
}
List<FundNav> fundInfoNewNet = fundInfoCustomMapper.getOrgFundInfoNewNet(list);
if (CollectionUtils.isNotEmpty(fundInfoNewNet)) {
return fundInfoNewNet.stream().map(item -> Net.builder()
......
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