.
This commit is contained in:
parent
4f309cc659
commit
d99f4f76eb
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user