Commit 7fde136c authored by 张亚辉's avatar 张亚辉

基金搜索

parent cde90aa8
......@@ -1845,13 +1845,11 @@ public class ProductServiceImpl implements ProductService, Constant {
Pageable pageable = new Pageable(req.getPageNumber(), req.getPageSize());
com.github.pagehelper.Page<Object> objects = PageMethod.startPage(req.getPageNumber(), req.getPageSize());
// List<FundCount> fundCounts = this.fundCountMapper.selectByExample(example);
// if (CollectionUtils.isEmpty(fundCounts)) {
// return new Page<>(pageable, new ArrayList<>(0));
// }
List<FundCount> fundCounts = this.fundCountMapper.selectByExample(example);
if (CollectionUtils.isEmpty(fundCounts)) {
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();
List<String> ids = 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