Commit 1a530d00 authored by zp's avatar zp

分页信息

...@@ -1717,7 +1717,7 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1717,7 +1717,7 @@ 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(pageable); 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));
......
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