Commit 436c6194 authored by zp's avatar zp

add

parent ccb60006
...@@ -186,7 +186,7 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan ...@@ -186,7 +186,7 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
@Override @Override
public List<FundManagerVO> getFundManager(String id) { public List<FundManagerVO> getFundManager(String id) {
FundManagerMappingExample example = new FundManagerMappingExample(); FundManagerMappingExample example = new FundManagerMappingExample();
example.createCriteria().andFundIdEqualTo(id).andIsvisibleEqualTo(ONE_NUM).andDeleteTagEqualTo(ZERO_NUM); example.createCriteria().andFundIdEqualTo(id).andDeleteTagEqualTo(ZERO_NUM);
example.setOrderByClause("update_time desc"); example.setOrderByClause("update_time desc");
List<String> list = this.fundManagerMappingMapper.selectByExample(example).stream() List<String> list = this.fundManagerMappingMapper.selectByExample(example).stream()
...@@ -203,7 +203,10 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan ...@@ -203,7 +203,10 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
.collect(Collectors.toList()); .collect(Collectors.toList());
FundCountExample example2 = new FundCountExample(); FundCountExample example2 = new FundCountExample();
example2.createCriteria().andFundIdIn(fundIds).andDeleteTagEqualTo(ZERO_NUM); example2.createCriteria()
.andFundIdIn(fundIds)
.andRetIncepIsNotNull()
.andDeleteTagEqualTo(ZERO_NUM);
example2.setOrderByClause("ret_incep desc"); example2.setOrderByClause("ret_incep desc");
List<FundCount> fundCounts = this.fundCountMapper.selectByExample(example2); List<FundCount> fundCounts = this.fundCountMapper.selectByExample(example2);
Map<String, FundCount> fundCountMap = fundCounts.stream() Map<String, FundCount> fundCountMap = fundCounts.stream()
......
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