dao
This commit is contained in:
snoop 2017-06-23 16:00:54 +09:00
parent 318dffc532
commit c93d7d7285

View File

@ -4,6 +4,8 @@ import com.loafle.overflow.module.probe.model.Probe;
import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
import java.util.List;
/** /**
* Created by insanity on 17. 5. 29. * Created by insanity on 17. 5. 29.
@ -11,4 +13,7 @@ import org.springframework.stereotype.Repository;
@Repository @Repository
public interface ProbeDAO extends JpaRepository<Probe, Long> { public interface ProbeDAO extends JpaRepository<Probe, Long> {
// public List<Agent> findAgentListByMemberId(Member member); // public List<Agent> findAgentListByMemberId(Member member);
Probe findByProbeKey(String probeKey);
List<Probe> findAllByDomainId(long domainId);
} }