diff --git a/src/main/java/kcc/let/sym/log/clg/web/EgovLoginLogController.java b/src/main/java/kcc/let/sym/log/clg/web/EgovLoginLogController.java index a3b16ba0..941dc86c 100644 --- a/src/main/java/kcc/let/sym/log/clg/web/EgovLoginLogController.java +++ b/src/main/java/kcc/let/sym/log/clg/web/EgovLoginLogController.java @@ -748,7 +748,17 @@ public class EgovLoginLogController { List userMenuList = adrHstryMgrDetailService.selectDocHstryList1(adrHstryMgrVO); //int adminLogListCnt = loginLogService.selectAmdinLogTotCnt(loginLog); - paginationInfo.setTotalRecordCount(userMenuList.get(0).getTotCnt()); + try { + if (userMenuList.size()>=1) { + paginationInfo.setTotalRecordCount(userMenuList.get(0).getTotCnt()); + }else { + paginationInfo.setTotalRecordCount(0); + } + }catch(Exception ex) { + ex.printStackTrace(); + } + + model.addAttribute("paginationInfo", paginationInfo); //model.addAttribute("adminLogList", adminLogList); @@ -756,6 +766,8 @@ public class EgovLoginLogController { //List userMenuList = adrHstryMgrDetailService.selectDocHstryList1(adrHstryMgrVO); model.addAttribute("userMenuList", userMenuList); + System.out.println("--------------------------------"); + return "sym/log/doc/SelectDocLogList1"; } diff --git a/src/main/resources/egovframework/sqlmap/kccadr/advc/AdrHstryMgrDetail_SQL_Cubrid.xml b/src/main/resources/egovframework/sqlmap/kccadr/advc/AdrHstryMgrDetail_SQL_Cubrid.xml index 673d8fdc..350470ec 100644 --- a/src/main/resources/egovframework/sqlmap/kccadr/advc/AdrHstryMgrDetail_SQL_Cubrid.xml +++ b/src/main/resources/egovframework/sqlmap/kccadr/advc/AdrHstryMgrDetail_SQL_Cubrid.xml @@ -231,7 +231,7 @@ a.frst_regist_pnttm >= TO_DATETIME(CONCAT (#searchStartDt#,' 00:00:00'),'YYYY-MM-DD HH24:MI:SS') - TO_DATETIME(CONCAT (#searchEndDt#,' 23:59:59'),'YYYY-MM-DD HH24:MI:SS') >= a.a.frst_regist_pnttm + TO_DATETIME(CONCAT (#searchEndDt#,' 23:59:59'),'YYYY-MM-DD HH24:MI:SS') >= a.frst_regist_pnttm GROUP BY a.adr_seq @@ -266,7 +266,7 @@ a.frst_regist_pnttm >= TO_DATETIME(CONCAT (#searchStartDt#,' 00:00:00'),'YYYY-MM-DD HH24:MI:SS') - TO_DATETIME(CONCAT (#searchEndDt#,' 23:59:59'),'YYYY-MM-DD HH24:MI:SS') >= a.a.frst_regist_pnttm + TO_DATETIME(CONCAT (#searchEndDt#,' 23:59:59'),'YYYY-MM-DD HH24:MI:SS') >= a.frst_regist_pnttm GROUP BY a.adr_seq, a.menu_id, a.menu_nm, b.adr_no diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp index 2038893f..c328ea0d 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp @@ -107,10 +107,7 @@ function logListExcelDownload(){ diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectWebLogList.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectWebLogList.jsp index f6cb6385..7ecc0058 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectWebLogList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/clg/SelectWebLogList.jsp @@ -169,9 +169,6 @@ function webLogListExcelDownload(){

사용자메뉴별접속통계