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

基金搜索

parent 15c69707
...@@ -1844,12 +1844,14 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1844,12 +1844,14 @@ public class ProductServiceImpl implements ProductService, Constant {
FundCountExample example = filterFundCountReq(req); FundCountExample example = filterFundCountReq(req);
Pageable pageable = new Pageable(req.getPageNumber(), req.getPageSize()); Pageable pageable = new Pageable(req.getPageNumber(), req.getPageSize());
com.github.pagehelper.Page<Object> objects = PageMethod.startPage(req.getPageNumber(), req.getPageSize()); // com.github.pagehelper.Page<Object> objects = PageMethod.startPage(req.getPageNumber(), req.getPageSize());
List<FundCount> fundCounts = this.fundCountMapper.selectByExample(example); // List<FundCount> fundCounts = this.fundCountMapper.selectByExample(example);
if (CollectionUtils.isEmpty(fundCounts)) { // if (CollectionUtils.isEmpty(fundCounts)) {
return new Page<>(pageable, new ArrayList<>(0)); // return new Page<>(pageable, new ArrayList<>(0));
} // }
// TODO test
List<FundCount> fundCounts = Lists.newArrayList(FundCount.builder().id("1").fundId("HF00005QOM").build());
FundInfoExample example1 = new FundInfoExample(); FundInfoExample example1 = new FundInfoExample();
List<String> ids = fundCounts List<String> ids = fundCounts
.stream() .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