From 24b353c3d3b781306c02cd9a6812f041474669b8 Mon Sep 17 00:00:00 2001 From: snoop Date: Thu, 22 Jun 2017 21:18:10 +0900 Subject: [PATCH] fixed --- .../java/com/loafle/overflow/module/member/dao/MemberDAO.java | 4 ++-- .../overflow/module/noauthprobe/dao/NoAuthProbeDAO.java | 4 ++-- .../loafle/overflow/module/noauthprobe/model/NoAuthProbe.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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; }