Commit 7a69733d authored by zp's avatar zp

â˜

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