Commit 7a69733d authored by zp's avatar zp

â˜

parent d4744d6f
...@@ -378,12 +378,14 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan ...@@ -378,12 +378,14 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
// 其他基金信息 // 其他基金信息
otherFundInfo(vo, id, ifaId, page); otherFundInfo(vo, id, ifaId, page);
if (StringUtils.isEmpty(ifaId)) {
vo.setIsCheck(0); vo.setIsCheck(0);
} else { if (StringUtils.isNotEmpty(ifaId)) {
Set<String> checkSet = Sets.newHashSet(diagnose.getFundCollectInfo(ExternalReq.builder().ids(Lists.newArrayList(vo.getFundId())).ifaId(ifaId).build()).getAttributes()); List<String> attributes = diagnose.getFundCollectInfo(ExternalReq.builder().ids(Lists.newArrayList(vo.getFundId())).ifaId(ifaId).build()).getAttributes();
if (!CollectionUtils.isEmpty(attributes)) {
Set<String> checkSet = Sets.newHashSet(attributes);
vo.setIsCheck(checkSet.contains(vo.getFundId()) ? 1 : 0); vo.setIsCheck(checkSet.contains(vo.getFundId()) ? 1 : 0);
} }
}
return vo; return vo;
} }
......
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