From 75a6650704c06194c41bac006c4672f0db171800 Mon Sep 17 00:00:00 2001 From: hen715 Date: Thu, 2 May 2024 14:57:13 +0900 Subject: [PATCH] =?UTF-8?q?[Refactor]=20=ED=85=8C=EC=9D=B4=EB=B8=94?= =?UTF-8?q?=EB=AA=85=20=EB=AA=85=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/kr/inuappcenterportal/inuportal/domain/Member.java | 2 +- .../inuportal/oracleRepository/SchoolLoginRepository.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/kr/inuappcenterportal/inuportal/domain/Member.java b/src/main/java/kr/inuappcenterportal/inuportal/domain/Member.java index f02a4c7..3f4d79d 100644 --- a/src/main/java/kr/inuappcenterportal/inuportal/domain/Member.java +++ b/src/main/java/kr/inuappcenterportal/inuportal/domain/Member.java @@ -32,7 +32,7 @@ public class Member implements UserDetails { @Column(nullable = false) private String password; - @Column + @Column(name = "fire_id") private Long fireId; @OneToMany(mappedBy = "member",fetch = FetchType.LAZY,cascade = CascadeType.ALL) diff --git a/src/main/java/kr/inuappcenterportal/inuportal/oracleRepository/SchoolLoginRepository.java b/src/main/java/kr/inuappcenterportal/inuportal/oracleRepository/SchoolLoginRepository.java index 1b19f8f..180e0b2 100644 --- a/src/main/java/kr/inuappcenterportal/inuportal/oracleRepository/SchoolLoginRepository.java +++ b/src/main/java/kr/inuappcenterportal/inuportal/oracleRepository/SchoolLoginRepository.java @@ -21,6 +21,7 @@ public class SchoolLoginRepository { public boolean loginCheck(String username, String password) { String sql = "SELECT F_LOGIN_CHECK(?, ?) FROM DUAL"; + log.info("학교 로그인 조회 :{}",username); try { String result = jdbcTemplate.queryForObject(sql, String.class, username, password); log.info("학교 디비 조회 결과 : {}",result);