Commit a51e21f8 authored by 张亚辉's avatar 张亚辉

产品查询

parent 089fbc2b
......@@ -580,10 +580,10 @@ public class ProductServiceImpl implements ProductService, Constant {
private FundCountExample getFundCountExample(NetReq req) {
FundCountExample example = new FundCountExample();
FundCountExample.Criteria criteria = example.createCriteria()
FundCountExample.Criteria criteria = example.createCriteria();
// .andStatusEqualTo(ONE_NUM).andDataSourcesEqualTo(ONE_NUM)
// .andDeleteTagEqualTo(ZERO_NUM)
.andSubstrategyNotEqualTo(ProductEnums.FundSubStrategyEnum.COMBINATION.subStrategy);
// .andSubstrategyNotEqualTo(ProductEnums.FundSubStrategyEnum.COMBINATION.subStrategy);
if (CollectionUtils.isNotEmpty(req.getList())) {
criteria.andSubstrategyIn(req.getList().stream().map(Integer::parseInt).collect(Collectors.toList()));
......@@ -1285,7 +1285,7 @@ public class ProductServiceImpl implements ProductService, Constant {
FundCountExample example = new FundCountExample();
FundCountExample.Criteria criteria = example.createCriteria().andDataSourcesEqualTo(ONE_NUM)
// .andStatusEqualTo(ONE_NUM)
.andSubstrategyNotEqualTo(ProductEnums.FundSubStrategyEnum.COMBINATION.subStrategy)
// .andSubstrategyNotEqualTo(ProductEnums.FundSubStrategyEnum.COMBINATION.subStrategy)
.andDeleteTagEqualTo(ZERO_NUM);
if (CollectionUtils.isNotEmpty(req.getList())) {
......@@ -1321,7 +1321,8 @@ public class ProductServiceImpl implements ProductService, Constant {
FundCountExample example = new FundCountExample();
FundCountExample.Criteria criteria = example.createCriteria().andDataSourcesEqualTo(ONE_NUM)
// .andStatusEqualTo(ONE_NUM)
.andSubstrategyNotEqualTo(ProductEnums.FundSubStrategyEnum.COMBINATION.subStrategy).andDeleteTagEqualTo(ZERO_NUM);
// .andSubstrategyNotEqualTo(ProductEnums.FundSubStrategyEnum.COMBINATION.subStrategy)
.andDeleteTagEqualTo(ZERO_NUM);
if (!CollectionUtils.isEmpty(req.getFundIds())) {
criteria.andFundIdIn(req.getFundIds());
......
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