fixed
This commit is contained in:
parent
8d5815ecbb
commit
24b353c3d3
|
@ -10,6 +10,6 @@ import org.springframework.stereotype.Repository;
|
|||
*/
|
||||
@Repository
|
||||
public interface MemberDAO extends JpaRepository<Member, Long> {
|
||||
@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);
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@ public interface NoAuthProbeDAO extends JpaRepository<NoAuthProbe, Long> {
|
|||
// NoAuthProbeDeprecate findByTempKey(NoAuthProbeDeprecate noAuthAgent);
|
||||
// List<NoAuthProbeDeprecate> 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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user