Commit 0d302a8f authored by 王业雄's avatar 王业雄

优化

parent e58ab7fa
...@@ -154,7 +154,7 @@ public class ChannelRouteServiceImpl implements IChannelRouteService { ...@@ -154,7 +154,7 @@ public class ChannelRouteServiceImpl implements IChannelRouteService {
List<FundProductEntity> fundProductEntityList = fundProductRepository.getAllByFundIdEqualsAndEnableEquals(fundId,Byte.valueOf("1")); List<FundProductEntity> fundProductEntityList = fundProductRepository.getAllByFundIdEqualsAndEnableEquals(fundId,Byte.valueOf("1"));
List<Long> fundCorpList = new ArrayList<>(); List<Long> fundCorpList = new ArrayList<>();
fundProductEntityList.stream().forEach(fundProductEntity -> { fundProductEntityList.stream().forEach(fundProductEntity -> {
if (!fundCorpList.contains(fundProductEntity.getFundProId())){ if (!fundCorpList.contains(fundProductEntity.getFundProId()) && !StringUtils.isEmpty(fundProductEntity.getBasicRule())){
fundCorpList.add(fundProductEntity.getFundProId()); fundCorpList.add(fundProductEntity.getFundProId());
} }
}); });
......
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