use of io.kenxue.cicd.infrastructure.repositoryimpl.application.database.dataobject.ApplicationConfigDO in project cicd-platform by ken-xue.
the class ApplicationConfigRepositoryImpl method page.
@Override
public Page<ApplicationConfig> page(ApplicationConfigPageQry qry) {
QueryWrapper<ApplicationConfigDO> qw = new QueryWrapper<>();
IPage doPage = applicationConfigMapper.selectPage(new PageDTO(qry.getPageIndex(), qry.getPageSize()), qw);
return Page.of(doPage.getCurrent(), doPage.getSize(), doPage.getTotal(), applicationConfig2DOConvector.toDomainList(doPage.getRecords()));
}
Aggregations