分页查询
This commit is contained in:
parent
c41d39e902
commit
b2334706ba
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue