use of io.ddd.framework.infrastructure.repositoryimpl.sys.database.dataobject.DictionaryDO in project ddd-framework by ken-xue.
the class DictionaryRepositoryImpl method page.
@Override
public Page<Dictionary> page(DictionaryPageQry qry) {
QueryWrapper<DictionaryDO> qw = new QueryWrapper<>();
IPage doPage = dictionaryMapper.selectPage(new PageDTO(qry.getPageIndex(), qry.getPageSize()), qw);
return Page.of(doPage.getCurrent(), doPage.getSize(), doPage.getTotal(), dictionary2DOConvector.toDomainList(doPage.getRecords()));
}
Aggregations