修复分页问题

This commit is contained in:
wenc000 2020-04-07 15:49:39 +08:00
parent 99f7cda2ae
commit 80c0b28ceb

View File

@ -157,7 +157,7 @@ public class DataDictionaryServiceImpl extends AbstractService implements IDataD
PageHelper.startPage(page.getPage(), page.getRows());
List<DataDictionaryDTO> dictionaryDTOs = dictionaryDao.listDictionary(page.getParams());
PageInfo<DataDictionaryDTO> pageInfo = new PageInfo<>(dictionaryDTOs);
return new SuccessResultList<>(dictionaryDTOs, pageInfo.getPageNum(), page.getTotal());
return new SuccessResultList<>(dictionaryDTOs, pageInfo.getPageNum(), pageInfo.getTotal());
}
@Override