Commit dc586c81 authored by 王业雄's avatar 王业雄

fix

parent 6b19e1b1
...@@ -142,7 +142,7 @@ public class ChannelRouteServiceImpl implements IChannelRouteService { ...@@ -142,7 +142,7 @@ public class ChannelRouteServiceImpl implements IChannelRouteService {
List<FundProductEntity> fundProductEntityList = fundProductRepository.getAllByEnableEquals(Byte.valueOf("1")); List<FundProductEntity> fundProductEntityList = fundProductRepository.getAllByEnableEquals(Byte.valueOf("1"));
List<Long> fundIdList = new ArrayList<>(); List<Long> fundIdList = new ArrayList<>();
fundProductEntityList.stream().forEach(fundProductEntity -> { fundProductEntityList.stream().forEach(fundProductEntity -> {
if (!fundIdList.contains(fundProductEntity.getFundId())){ if (!fundIdList.contains(fundProductEntity.getFundId()) && !StringUtils.isEmpty(fundProductEntity.getBasicRule())){
fundIdList.add(fundProductEntity.getFundId()); fundIdList.add(fundProductEntity.getFundId());
} }
}); });
......
...@@ -301,7 +301,7 @@ public class FundProductServiceImpl implements IFundProductService { ...@@ -301,7 +301,7 @@ public class FundProductServiceImpl implements IFundProductService {
basicRule.append(" || "); basicRule.append(" || ");
} }
} }
basicRule.append(")"); basicRule.append(")").append(" && ");
//basicRule.append("term == ").append(value).append(" && "); //basicRule.append("term == ").append(value).append(" && ");
break; break;
......
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