From 1f053db7eb142b3e1de6301987abc44c23f99664 Mon Sep 17 00:00:00 2001 From: snoop Date: Tue, 22 Aug 2017 21:25:37 +0900 Subject: [PATCH] fixed dao query --- .../java/com/loafle/overflow/module/sensor/dao/SensorDAO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/loafle/overflow/module/sensor/dao/SensorDAO.java b/src/main/java/com/loafle/overflow/module/sensor/dao/SensorDAO.java index fea4c54..08a06d2 100644 --- a/src/main/java/com/loafle/overflow/module/sensor/dao/SensorDAO.java +++ b/src/main/java/com/loafle/overflow/module/sensor/dao/SensorDAO.java @@ -1,7 +1,6 @@ package com.loafle.overflow.module.sensor.dao; -import com.loafle.overflow.module.probe.model.Probe; import com.loafle.overflow.module.sensor.model.Sensor; import com.loafle.overflow.module.target.model.Target; import org.springframework.data.jpa.repository.JpaRepository; @@ -21,4 +20,5 @@ public interface SensorDAO extends JpaRepository { @Query("SELECT s from Sensor s WHERE s.target in (:targetList)") List findAllByTarget(@Param("targetList") List targetList); // List findAllByTargetList(List targets); + }