Commit 57329b80 authored by zp's avatar zp

â˜

parent 7e03671b
...@@ -378,11 +378,13 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan ...@@ -378,11 +378,13 @@ 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); if (StringUtils.isNotEmpty(ifaId)) {
} else { List<String> attributes = diagnose.getFundCollectInfo(ExternalReq.builder().ids(Lists.newArrayList(vo.getFundId())).ifaId(ifaId).build()).getAttributes();
Set<String> checkSet = Sets.newHashSet(diagnose.getFundCollectInfo(ExternalReq.builder().ids(Lists.newArrayList(vo.getFundId())).ifaId(ifaId).build()).getAttributes()); if (!CollectionUtils.isEmpty(attributes)) {
vo.setIsCheck(checkSet.contains(vo.getFundId()) ? 1 : 0); Set<String> checkSet = Sets.newHashSet(attributes);
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