From d99f4f76eb77ad76dafe25629ed8ec85c9129d76 Mon Sep 17 00:00:00 2001 From: insanity Date: Wed, 28 Mar 2018 18:57:24 +0900 Subject: [PATCH] . --- .../loafle/overflow/module/sensor/service/SensorService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/loafle/overflow/module/sensor/service/SensorService.java b/src/main/java/com/loafle/overflow/module/sensor/service/SensorService.java index ac56b1b..4bf97f3 100644 --- a/src/main/java/com/loafle/overflow/module/sensor/service/SensorService.java +++ b/src/main/java/com/loafle/overflow/module/sensor/service/SensorService.java @@ -84,8 +84,8 @@ public class SensorService { return this.sensorDAO.findAllByTarget(dbInfra.getTarget(), PageUtil.getPageRequest(pageParams)); } - public List readAllByTarget(Target target) { - return this.sensorDAO.findAllByTarget(target); + public Page readAllByTarget(Target target, PageParams pageParams) { + return this.sensorDAO.findAllByTarget(target, PageUtil.getPageRequest(pageParams)); } public Sensor read(String id) {