From cdb006a4b7a48460c3b16a408f1148af6b0ad0b2 Mon Sep 17 00:00:00 2001 From: itn Date: Mon, 24 Jul 2023 15:05:10 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=20?= =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=EB=A1=9C=EA=B7=B8=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=20=EC=84=B1=EB=8A=A5=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../itn/let/main/web/EgovMainController.java | 2 +- .../log/clg/service/EgovLoginLogService.java | 2 ++ .../service/impl/EgovLoginLogServiceImpl.java | 5 ++++ .../sym/log/clg/service/impl/LoginLogDAO.java | 5 ++++ .../sym/log/clg/EgovLoginLog_SQL_Mysql.xml | 28 +++++++++++++++++-- .../webapp/WEB-INF/jsp/main/EgovMainView.jsp | 2 +- 6 files changed, 40 insertions(+), 4 deletions(-) diff --git a/src/main/java/itn/let/main/web/EgovMainController.java b/src/main/java/itn/let/main/web/EgovMainController.java index 25ffdc56..b7d20ced 100644 --- a/src/main/java/itn/let/main/web/EgovMainController.java +++ b/src/main/java/itn/let/main/web/EgovMainController.java @@ -859,7 +859,7 @@ public class EgovMainController { // 최신날짜 우선순위 조회 loginLog.setSearchSortCnd("creatDt"); loginLog.setSearchSortOrd("desc"); - adminLogList = loginLogService.selectAmdinLog(loginLog); + adminLogList = loginLogService.selectAmdinLogDashboard(loginLog); } catch(Exception e) { isSuccess = false; diff --git a/src/main/java/itn/let/sym/log/clg/service/EgovLoginLogService.java b/src/main/java/itn/let/sym/log/clg/service/EgovLoginLogService.java index f8c238c5..a90c166b 100644 --- a/src/main/java/itn/let/sym/log/clg/service/EgovLoginLogService.java +++ b/src/main/java/itn/let/sym/log/clg/service/EgovLoginLogService.java @@ -57,6 +57,8 @@ public interface EgovLoginLogService { public void logInsertAdminLoginLog(LoginLog loginLog) throws Exception; + public List selectAmdinLogDashboard(LoginLog loginLog) throws Exception; + public List selectAmdinLog(LoginLog loginLog) throws Exception; public int selectAmdinLogTotCnt(LoginLog loginLog) throws Exception; diff --git a/src/main/java/itn/let/sym/log/clg/service/impl/EgovLoginLogServiceImpl.java b/src/main/java/itn/let/sym/log/clg/service/impl/EgovLoginLogServiceImpl.java index 80be8bb1..5d2d4cd4 100644 --- a/src/main/java/itn/let/sym/log/clg/service/impl/EgovLoginLogServiceImpl.java +++ b/src/main/java/itn/let/sym/log/clg/service/impl/EgovLoginLogServiceImpl.java @@ -123,6 +123,11 @@ public class EgovLoginLogServiceImpl extends EgovAbstractServiceImpl implements } + @Override + public List selectAmdinLogDashboard(LoginLog loginLog) throws Exception { + return loginLogDAO.selectAmdinLogDashboard(loginLog); + } + @Override public List selectAmdinLog(LoginLog loginLog) throws Exception { return loginLogDAO.selectAmdinLog(loginLog); diff --git a/src/main/java/itn/let/sym/log/clg/service/impl/LoginLogDAO.java b/src/main/java/itn/let/sym/log/clg/service/impl/LoginLogDAO.java index 773bdf9b..4ef88c3c 100644 --- a/src/main/java/itn/let/sym/log/clg/service/impl/LoginLogDAO.java +++ b/src/main/java/itn/let/sym/log/clg/service/impl/LoginLogDAO.java @@ -98,6 +98,11 @@ public class LoginLogDAO extends EgovAbstractDAO { } + @SuppressWarnings("unchecked") + public List selectAmdinLogDashboard(LoginLog loginLog) throws Exception{ + return (List)list("LoginLogDAO.selectAmdinLogDashboard", loginLog); + } + @SuppressWarnings("unchecked") public List selectAmdinLog(LoginLog loginLog) throws Exception{ return (List)list("LoginLogDAO.selectAmdinLog", loginLog); diff --git a/src/main/resources/egovframework/sqlmap/let/sym/log/clg/EgovLoginLog_SQL_Mysql.xml b/src/main/resources/egovframework/sqlmap/let/sym/log/clg/EgovLoginLog_SQL_Mysql.xml index a12b6a7f..076970b9 100644 --- a/src/main/resources/egovframework/sqlmap/let/sym/log/clg/EgovLoginLog_SQL_Mysql.xml +++ b/src/main/resources/egovframework/sqlmap/let/sym/log/clg/EgovLoginLog_SQL_Mysql.xml @@ -225,8 +225,32 @@ , now()) + + - + - +