Commit 6d24b80c authored by 张亚辉's avatar 张亚辉

基金详情

parent 4ee1acf9
......@@ -1557,7 +1557,7 @@ public class ProductServiceImpl implements ProductService, Constant {
.fundId(item.getFundId())
.fundName(fundMap.get(item.getFundId()))
.ret1y(multiply100(item.getRet1y()))
.isCheck(checkFundIdList.contains(item.getFundId()) ? 1 : 0)
.isCheck(CollectionUtils.isNotEmpty(checkFundIdList) ? (checkFundIdList.contains(item.getFundId()) ? 1 : 0) : 0)
.build()).collect(Collectors.toList());
}
......@@ -1589,7 +1589,7 @@ public class ProductServiceImpl implements ProductService, Constant {
FundSameResp p = FundSameResp.builder()
.fundId(item.getId())
.fundName(item.getFundName())
.isCheck(checkFundIdList.contains(item.getId()) ? 1 : 0)
.isCheck(CollectionUtils.isNotEmpty(checkFundIdList) ? (checkFundIdList.contains(item.getId()) ? 1 : 0) : 0)
.build();
if (fundCountMap != null && fundCountMap.containsKey(item.getId())) {
......
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