分页查询服务列表获取用户信息
This commit is contained in:
parent
5566b00ea1
commit
3edc01557b
|
|
@ -62,8 +62,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, SecurityUtils.getLoginUser().getUsername());
|
||||
List<com.ruoyi.platform.domain.service.Service> services = serviceDao.queryByPageService(service, orderBy, SecurityUtils.getLoginUser().getUsername(), 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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue