From 6eaab5de0da704223ce7a7fbddf063e320ef2e1e Mon Sep 17 00:00:00 2001 From: snoop Date: Mon, 26 Jun 2017 12:57:28 +0900 Subject: [PATCH] fixed enum -> meta P -> 3 --- .../loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 db6d15a..fc2b722 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 @@ -20,6 +20,6 @@ public interface NoAuthProbeDAO extends JpaRepository { // @Query("SELECT n FROM NoAuthProbe n WHERE n.tempProbeKey = :tempProbeKey") NoAuthProbe findByTempProbeKey(String tempProbeKey); // @Query("select m from Member m WHERE m.email = :#{#m2.email}") - @Query("SELECT n FROM NoAuthProbe n WHERE n.domain.id = :#{#domain.id} and n.status = 'P'") + @Query("SELECT n FROM NoAuthProbe n WHERE n.domain.id = :#{#domain.id} and n.status.id = 3") // 3 = Process List findAllByDomain(@Param("domain") Domain domain); }