From c93d7d7285a978ad7e328127c8c7e66ae2b62381 Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 23 Jun 2017 16:00:54 +0900 Subject: [PATCH] added dao --- .../java/com/loafle/overflow/module/probe/dao/ProbeDAO.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/loafle/overflow/module/probe/dao/ProbeDAO.java b/src/main/java/com/loafle/overflow/module/probe/dao/ProbeDAO.java index 87f81bc..9139b5c 100644 --- a/src/main/java/com/loafle/overflow/module/probe/dao/ProbeDAO.java +++ b/src/main/java/com/loafle/overflow/module/probe/dao/ProbeDAO.java @@ -4,6 +4,8 @@ import com.loafle.overflow.module.probe.model.Probe; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; +import java.util.List; + /** * Created by insanity on 17. 5. 29. @@ -11,4 +13,7 @@ import org.springframework.stereotype.Repository; @Repository public interface ProbeDAO extends JpaRepository { // public List findAgentListByMemberId(Member member); + + Probe findByProbeKey(String probeKey); + List findAllByDomainId(long domainId); } \ No newline at end of file