Pre Merge pull request !258 from 带着大佬飞/master

This commit is contained in:
带着大佬飞 2021-01-21 11:35:43 +08:00 committed by Gitee
commit 2e39544b13
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public class BaseController
TableDataInfo rspData = new TableDataInfo(); TableDataInfo rspData = new TableDataInfo();
rspData.setCode(0); rspData.setCode(0);
rspData.setRows(list); rspData.setRows(list);
rspData.setTotal(new PageInfo(list).getTotal()); rspData.setTotal(new PageInfo(list).getSize());
return rspData; return rspData;
} }