修复分页问题
This commit is contained in:
parent
99f7cda2ae
commit
80c0b28ceb
@ -157,7 +157,7 @@ public class DataDictionaryServiceImpl extends AbstractService implements IDataD
|
|||||||
PageHelper.startPage(page.getPage(), page.getRows());
|
PageHelper.startPage(page.getPage(), page.getRows());
|
||||||
List<DataDictionaryDTO> dictionaryDTOs = dictionaryDao.listDictionary(page.getParams());
|
List<DataDictionaryDTO> dictionaryDTOs = dictionaryDao.listDictionary(page.getParams());
|
||||||
PageInfo<DataDictionaryDTO> pageInfo = new PageInfo<>(dictionaryDTOs);
|
PageInfo<DataDictionaryDTO> pageInfo = new PageInfo<>(dictionaryDTOs);
|
||||||
return new SuccessResultList<>(dictionaryDTOs, pageInfo.getPageNum(), page.getTotal());
|
return new SuccessResultList<>(dictionaryDTOs, pageInfo.getPageNum(), pageInfo.getTotal());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user