From 4f309cc659afe867078285647fa9a77954d36b64 Mon Sep 17 00:00:00 2001 From: insanity Date: Wed, 28 Mar 2018 18:09:00 +0900 Subject: [PATCH] sensorservice --- .../loafle/overflow/module/sensor/service/SensorService.java | 3 +++ 1 file changed, 3 insertions(+) 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 e7968bf..ac56b1b 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 @@ -82,7 +82,10 @@ public class SensorService { } return this.sensorDAO.findAllByTarget(dbInfra.getTarget(), PageUtil.getPageRequest(pageParams)); + } + public List readAllByTarget(Target target) { + return this.sensorDAO.findAllByTarget(target); } public Sensor read(String id) {