use of io.kenxue.cicd.infrastructure.repositoryimpl.project.database.dataobject.ProjectOfUserDO in project cicd-platform by ken-xue.
the class ProjectOfUserRepositoryImpl method page.
@Override
public Page<ProjectOfUser> page(ProjectOfUserPageQry qry) {
QueryWrapper<ProjectOfUserDO> qw = new QueryWrapper<>();
IPage doPage = projectOfUserMapper.selectPage(new PageDTO(qry.getPageIndex(), qry.getPageSize()), qw);
return Page.of(doPage.getCurrent(), doPage.getSize(), doPage.getTotal(), projectOfUser2DOConvector.toDomainList(doPage.getRecords()));
}
Aggregations