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()) + + - + - +