This commit is contained in:
insanity 2018-03-28 18:57:24 +09:00
parent 4f309cc659
commit d99f4f76eb

View File

@ -84,8 +84,8 @@ public class SensorService {
return this.sensorDAO.findAllByTarget(dbInfra.getTarget(), PageUtil.getPageRequest(pageParams));
}
public List<Sensor> readAllByTarget(Target target) {
return this.sensorDAO.findAllByTarget(target);
public Page<Sensor> readAllByTarget(Target target, PageParams pageParams) {
return this.sensorDAO.findAllByTarget(target, PageUtil.getPageRequest(pageParams));
}
public Sensor read(String id) {