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