added
dao
This commit is contained in:
parent
318dffc532
commit
c93d7d7285
|
@ -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<Probe, Long> {
|
||||
// public List<Agent> findAgentListByMemberId(Member member);
|
||||
|
||||
Probe findByProbeKey(String probeKey);
|
||||
List<Probe> findAllByDomainId(long domainId);
|
||||
}
|
Loading…
Reference in New Issue
Block a user