use of io.kenxue.cicd.infrastructure.repositoryimpl.machine.database.dataobject.MachineGroupDO in project cicd-platform by ken-xue.
the class MachineGroupRepositoryImpl method page.
@Override
public Page<MachineGroup> page(MachineGroupPageQry qry) {
QueryWrapper<MachineGroupDO> qw = new QueryWrapper<>();
qw.eq("deleted", false);
IPage doPage = machineGroupMapper.selectPage(new PageDTO(qry.getPageIndex(), qry.getPageSize()), qw);
return Page.of(doPage.getCurrent(), doPage.getSize(), doPage.getTotal(), machineGroup2DOConvector.toDomainList(doPage.getRecords()));
}
Aggregations