fixed
This commit is contained in:
parent
8d5815ecbb
commit
24b353c3d3
|
@ -10,6 +10,6 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MemberDAO extends JpaRepository<Member, Long> {
|
public interface MemberDAO extends JpaRepository<Member, Long> {
|
||||||
@Query("SELECT m FROM MEMBER m WHERE m.email = :email")
|
// @Query("SELECT m FROM MEMBER m WHERE m.email = :email")
|
||||||
Member findByEmail(Member member);
|
// Member findByEmail(Member member);
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,6 @@ public interface NoAuthProbeDAO extends JpaRepository<NoAuthProbe, Long> {
|
||||||
// NoAuthProbeDeprecate findByTempKey(NoAuthProbeDeprecate noAuthAgent);
|
// NoAuthProbeDeprecate findByTempKey(NoAuthProbeDeprecate noAuthAgent);
|
||||||
// List<NoAuthProbeDeprecate> findAllByNoAuth(NoAuthProbeDeprecate noAuthAgent);
|
// List<NoAuthProbeDeprecate> findAllByNoAuth(NoAuthProbeDeprecate noAuthAgent);
|
||||||
|
|
||||||
@Query("SELECT n FROM NoAuthProbe n WHERE n.tempProbeKey = :tempProbeKey")
|
// @Query("SELECT n FROM NoAuthProbe n WHERE n.tempProbeKey = :tempProbeKey")
|
||||||
NoAuthProbe findByTempKey(@Param("tempProbeKey")String tempProbeKey);
|
// NoAuthProbe findByTempKey(@Param("tempProbeKey")String tempProbeKey);
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,11 +120,11 @@ public class NoAuthProbe {
|
||||||
|
|
||||||
@ManyToOne
|
@ManyToOne
|
||||||
@JoinColumn(name = "PROBE_ID", nullable = true)
|
@JoinColumn(name = "PROBE_ID", nullable = true)
|
||||||
public Probe getProbeId() {
|
public Probe getProbe() {
|
||||||
return probe;
|
return probe;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setProbeId(Probe probe) {
|
public void setProbe(Probe probe) {
|
||||||
this.probe = probe;
|
this.probe = probe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user