Commit 2f4848ee authored by 张亚辉's avatar 张亚辉

私募基金

parent 1b960424
...@@ -184,8 +184,9 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -184,8 +184,9 @@ public class ProductServiceImpl implements ProductService, Constant {
private FundCountExample filterFundCountExample(ProductInfoReq req) { private FundCountExample filterFundCountExample(ProductInfoReq req) {
FundCountExample example = new FundCountExample(); FundCountExample example = new FundCountExample();
FundCountExample.Criteria criteria = example.createCriteria() FundCountExample.Criteria criteria = example.createCriteria()
.andStatusEqualTo(ONE_NUM) // .andStatusEqualTo(ONE_NUM)
.andDataSourcesEqualTo(TWO_NUM).andDeleteTagEqualTo(ZERO_NUM); // .andDataSourcesEqualTo(TWO_NUM)
.andDeleteTagEqualTo(ZERO_NUM);
if (!CollectionUtils.isEmpty(req.getList())) { if (!CollectionUtils.isEmpty(req.getList())) {
criteria.andSubstrategyIn(req.getList().stream().map(Integer::parseInt).collect(Collectors.toList())); criteria.andSubstrategyIn(req.getList().stream().map(Integer::parseInt).collect(Collectors.toList()));
...@@ -241,8 +242,9 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -241,8 +242,9 @@ public class ProductServiceImpl implements ProductService, Constant {
private FundCountExample filterFundCountExample(ProductListReq req) { private FundCountExample filterFundCountExample(ProductListReq req) {
FundCountExample example = new FundCountExample(); FundCountExample example = new FundCountExample();
FundCountExample.Criteria criteria = example.createCriteria() FundCountExample.Criteria criteria = example.createCriteria()
.andStatusEqualTo(ONE_NUM) // .andStatusEqualTo(ONE_NUM)
.andDataSourcesEqualTo(TWO_NUM).andDeleteTagEqualTo(ZERO_NUM); // .andDataSourcesEqualTo(TWO_NUM)
.andDeleteTagEqualTo(ZERO_NUM);
if (!CollectionUtils.isEmpty(req.getFundIds())) { if (!CollectionUtils.isEmpty(req.getFundIds())) {
criteria.andFundIdIn(req.getFundIds()); criteria.andFundIdIn(req.getFundIds());
...@@ -453,8 +455,9 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -453,8 +455,9 @@ public class ProductServiceImpl implements ProductService, Constant {
private FundCountExample getFundCountExample(NetReq req) { private FundCountExample getFundCountExample(NetReq req) {
FundCountExample example = new FundCountExample(); FundCountExample example = new FundCountExample();
FundCountExample.Criteria criteria = example.createCriteria() FundCountExample.Criteria criteria = example.createCriteria()
.andStatusEqualTo(ONE_NUM).andDataSourcesEqualTo(ONE_NUM) // .andStatusEqualTo(ONE_NUM).andDataSourcesEqualTo(ONE_NUM)
.andDeleteTagEqualTo(ZERO_NUM).andStrategyNotEqualTo(SEVEN_NUM); // .andDeleteTagEqualTo(ZERO_NUM)
.andStrategyNotEqualTo(SEVEN_NUM);
if (CollectionUtils.isNotEmpty(req.getList())) { if (CollectionUtils.isNotEmpty(req.getList())) {
criteria.andSubstrategyIn(req.getList().stream().map(Integer::parseInt).collect(Collectors.toList())); criteria.andSubstrategyIn(req.getList().stream().map(Integer::parseInt).collect(Collectors.toList()));
...@@ -1118,8 +1121,9 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1118,8 +1121,9 @@ public class ProductServiceImpl implements ProductService, Constant {
FundCountExample example = new FundCountExample(); FundCountExample example = new FundCountExample();
FundCountExample.Criteria criteria = example.createCriteria().andDataSourcesEqualTo(ONE_NUM) FundCountExample.Criteria criteria = example.createCriteria().andDataSourcesEqualTo(ONE_NUM)
.andStatusEqualTo(ONE_NUM) // .andStatusEqualTo(ONE_NUM)
.andStrategyNotEqualTo(7).andDeleteTagEqualTo(ZERO_NUM); .andStrategyNotEqualTo(7)
.andDeleteTagEqualTo(ZERO_NUM);
if (CollectionUtils.isNotEmpty(req.getList())) { if (CollectionUtils.isNotEmpty(req.getList())) {
criteria.andSubstrategyIn(req.getList().stream().map(Integer::parseInt).collect(Collectors.toList())); criteria.andSubstrategyIn(req.getList().stream().map(Integer::parseInt).collect(Collectors.toList()));
...@@ -1153,7 +1157,7 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1153,7 +1157,7 @@ public class ProductServiceImpl implements ProductService, Constant {
FundCountExample example = new FundCountExample(); FundCountExample example = new FundCountExample();
FundCountExample.Criteria criteria = example.createCriteria().andDataSourcesEqualTo(ONE_NUM) FundCountExample.Criteria criteria = example.createCriteria().andDataSourcesEqualTo(ONE_NUM)
.andStatusEqualTo(ONE_NUM) // .andStatusEqualTo(ONE_NUM)
.andStrategyNotEqualTo(7).andDeleteTagEqualTo(ZERO_NUM); .andStrategyNotEqualTo(7).andDeleteTagEqualTo(ZERO_NUM);
if (!CollectionUtils.isEmpty(req.getFundIds())) { if (!CollectionUtils.isEmpty(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