diff --git a/src/main/java/com/loafle/overflow/module/member/dao/MemberDAO.java b/src/main/java/com/loafle/overflow/module/member/dao/MemberDAO.java index 7284b65..aee7942 100644 --- a/src/main/java/com/loafle/overflow/module/member/dao/MemberDAO.java +++ b/src/main/java/com/loafle/overflow/module/member/dao/MemberDAO.java @@ -10,6 +10,6 @@ import org.springframework.stereotype.Repository; */ @Repository public interface MemberDAO extends JpaRepository { - @Query("SELECT m FROM MEMBER m WHERE m.email = :email") - Member findByEmail(Member member); +// @Query("SELECT m FROM MEMBER m WHERE m.email = :email") +// Member findByEmail(Member member); } diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAO.java b/src/main/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAO.java index 7b70fda..bf34fe7 100644 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAO.java +++ b/src/main/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAO.java @@ -14,6 +14,6 @@ public interface NoAuthProbeDAO extends JpaRepository { // NoAuthProbeDeprecate findByTempKey(NoAuthProbeDeprecate noAuthAgent); // List findAllByNoAuth(NoAuthProbeDeprecate noAuthAgent); - @Query("SELECT n FROM NoAuthProbe n WHERE n.tempProbeKey = :tempProbeKey") - NoAuthProbe findByTempKey(@Param("tempProbeKey")String tempProbeKey); +// @Query("SELECT n FROM NoAuthProbe n WHERE n.tempProbeKey = :tempProbeKey") +// NoAuthProbe findByTempKey(@Param("tempProbeKey")String tempProbeKey); } diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java index 6d00efd..8080273 100644 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java +++ b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java @@ -120,11 +120,11 @@ public class NoAuthProbe { @ManyToOne @JoinColumn(name = "PROBE_ID", nullable = true) - public Probe getProbeId() { + public Probe getProbe() { return probe; } - public void setProbeId(Probe probe) { + public void setProbe(Probe probe) { this.probe = probe; }