Commit 1a530d00 authored by zp's avatar zp

分页信息

parent 4ae3ed85
......@@ -1717,7 +1717,7 @@ public class ProductServiceImpl implements ProductService, Constant {
FundCountExample example = filterFundCountReq(req);
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);
if (CollectionUtils.isEmpty(fundCounts)) {
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