From 980ffeca3e91a2102da7345e873acffc376eff05 Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 23 Jun 2017 16:09:03 +0900 Subject: [PATCH] added test --- .../java/com/loafle/overflow/module/probe/dao/ProbeDAO.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 9139b5c..240e1e4 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 @@ -1,5 +1,6 @@ package com.loafle.overflow.module.probe.dao; +import com.loafle.overflow.module.domain.Domain; import com.loafle.overflow.module.probe.model.Probe; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @@ -15,5 +16,5 @@ public interface ProbeDAO extends JpaRepository { // public List findAgentListByMemberId(Member member); Probe findByProbeKey(String probeKey); - List findAllByDomainId(long domainId); + List findAllByDomain(Domain domain); } \ No newline at end of file