fixed
noauth probe
This commit is contained in:
parent
c7ee2bb74b
commit
f6b397f11b
|
@ -1,32 +0,0 @@
|
||||||
//package com.loafle.overflow.module.agent.dao;
|
|
||||||
//
|
|
||||||
//import com.loafle.overflow.module.probe.model.Agent;
|
|
||||||
//import com.loafle.overflow.commons.dao.JPABaseDAO;
|
|
||||||
//import com.loafle.overflow.module.member.model.Member;
|
|
||||||
//
|
|
||||||
//import javax.persistence.Query;
|
|
||||||
//import java.util.ArrayList;
|
|
||||||
//import java.util.List;
|
|
||||||
//
|
|
||||||
//
|
|
||||||
///**
|
|
||||||
// * Created by insanity on 17. 5. 29.
|
|
||||||
// */
|
|
||||||
//public class JPAAgentDAO extends JPABaseDAO<Agent> implements AgentDAO {
|
|
||||||
//
|
|
||||||
// public List<Agent> findAgentListByMemberId(Member member) {
|
|
||||||
// Query query = getEntityManager()
|
|
||||||
// .createNativeQuery("SELECT agt.* FROM AGENT agt WHERE agt.MEMBER_ID = :member", Agent.class);
|
|
||||||
// query.setParameter("member", member.getId());
|
|
||||||
//
|
|
||||||
// List<Agent> list = new ArrayList<>();
|
|
||||||
// try {
|
|
||||||
// list = query.getResultList();
|
|
||||||
// }catch(Exception e) {
|
|
||||||
// e.printStackTrace();
|
|
||||||
// }finally {
|
|
||||||
// return list;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
//}
|
|
|
@ -2,11 +2,12 @@ package com.loafle.overflow.module.probe.dao;
|
||||||
|
|
||||||
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 sun.management.Agent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by insanity on 17. 5. 29.
|
* Created by insanity on 17. 5. 29.
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface AgentDAO extends JpaRepository<Agent, Long> {
|
public interface ProbeDAO extends JpaRepository<Agent, Long> {
|
||||||
// public List<Agent> findAgentListByMemberId(Member member);
|
// public List<Agent> findAgentListByMemberId(Member member);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user