分页查询

This commit is contained in:
zch 2026-03-03 11:37:14 +08:00
parent c41d39e902
commit b2334706ba
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ public class ServiceServiceImpl implements ServiceService {
@Override
public Page<com.ruoyi.platform.domain.service.Service> queryByPageService(com.ruoyi.platform.domain.service.Service service, String orderBy, PageRequest pageRequest) {
long total = serviceDao.countService(service, orderBy, "fanshuai");
List<com.ruoyi.platform.domain.service.Service> services = serviceDao.queryByPageService(service, orderBy, "fanshuai", pageRequest);
long total = serviceDao.countService(service, orderBy, SecurityUtils.getUsername());
List<com.ruoyi.platform.domain.service.Service> services = serviceDao.queryByPageService(service, orderBy, SecurityUtils.getUsername(), pageRequest);
return new PageImpl<>(services, pageRequest, total);
}