diff --git a/src/main/java/kcc/let/sym/log/clg/service/EgovLoginLogService.java b/src/main/java/kcc/let/sym/log/clg/service/EgovLoginLogService.java index 3581f900..15ae0fea 100644 --- a/src/main/java/kcc/let/sym/log/clg/service/EgovLoginLogService.java +++ b/src/main/java/kcc/let/sym/log/clg/service/EgovLoginLogService.java @@ -77,6 +77,8 @@ public interface EgovLoginLogService { public List selectDateLogList(LoginLog loginLog) throws Exception; public List selectUserMenuList(LoginLog loginLog) throws Exception; + + public List selectUserMenuList20221108(LoginLog loginLog) throws Exception; public LoginLog selectLogCnt(LoginLog footerLog) throws Exception; diff --git a/src/main/java/kcc/let/sym/log/clg/service/impl/EgovLoginLogServiceImpl.java b/src/main/java/kcc/let/sym/log/clg/service/impl/EgovLoginLogServiceImpl.java index 0e54a85b..e8f27080 100644 --- a/src/main/java/kcc/let/sym/log/clg/service/impl/EgovLoginLogServiceImpl.java +++ b/src/main/java/kcc/let/sym/log/clg/service/impl/EgovLoginLogServiceImpl.java @@ -177,7 +177,11 @@ public class EgovLoginLogServiceImpl extends EgovAbstractServiceImpl implements public List selectUserMenuList(LoginLog loginLog) throws Exception { return loginLogDAO.selectUserMenuList(loginLog); } - + @Override + public List selectUserMenuList20221108(LoginLog loginLog) throws Exception { + return loginLogDAO.selectUserMenuList20221108(loginLog); + } + @Override public LoginLog selectLogCnt(LoginLog loginLog) throws Exception { return loginLogDAO.selectLogCnt(loginLog); diff --git a/src/main/java/kcc/let/sym/log/clg/service/impl/LoginLogDAO.java b/src/main/java/kcc/let/sym/log/clg/service/impl/LoginLogDAO.java index 705605d9..abaeb7ef 100644 --- a/src/main/java/kcc/let/sym/log/clg/service/impl/LoginLogDAO.java +++ b/src/main/java/kcc/let/sym/log/clg/service/impl/LoginLogDAO.java @@ -155,6 +155,11 @@ public class LoginLogDAO extends EgovAbstractDAO { return (List)list("LoginLogDAO.selectUserMenuList", loginLog); } + @SuppressWarnings("unchecked") + public List selectUserMenuList20221108(LoginLog loginLog) throws Exception{ + return (List)list("LoginLogDAO.selectUserMenuList20221108", loginLog); + } + public LoginLog selectLogCnt(LoginLog loginLog) throws Exception{ return (LoginLog)select("LoginLogDAO.selectLogCnt", loginLog); } 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 05b2aa17..939aa6f7 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 @@ -3,7 +3,6 @@ package kcc.let.sym.log.clg.web; import java.io.OutputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; -import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Locale; @@ -440,6 +439,8 @@ public class EgovLoginLogController { public String selectWebLogList(@ModelAttribute("searchVO") LoginLog loginLog, @RequestParam Map commandMap , ModelMap model) throws Exception { + + /* if(loginLog.getPageUnit() != 10) { loginLog.setPageUnit(loginLog.getPageUnit()); } @@ -456,7 +457,9 @@ public class EgovLoginLogController { String beforeMonth = new java.text.SimpleDateFormat("yyyy-MM-dd").format(mon.getTime()); loginLog.setSearchBgnDe(beforeMonth); } + */ + /* PaginationInfo paginationInfo = new PaginationInfo(); paginationInfo.setCurrentPageNo(loginLog.getPageIndex()); paginationInfo.setRecordCountPerPage(loginLog.getPageUnit()); @@ -466,14 +469,17 @@ public class EgovLoginLogController { loginLog.setLastIndex(paginationInfo.getLastRecordIndex()); loginLog.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); + if("".equals(loginLog.getSearchSortCnd())){ //최초조회시 최신것 조회List loginLog.setSearchSortCnd("logId"); loginLog.setSearchSortOrd("asc"); } + */ - List webMenuLogList = loginLogService.selectWebMenuLogList(loginLog); //사용자 매뉴 리스트 - List userMenuList = loginLogService.selectUserMenuList(loginLog); //사용자 매뉴(전체) + //List webMenuLogList = loginLogService.selectWebMenuLogList(loginLog); //사용자 매뉴 리스트 + List userMenuList = loginLogService.selectUserMenuList20221108(loginLog); //사용자 매뉴(전체) + /* for(LoginLog userMenuVO :userMenuList){ List tempDataList = new ArrayList(); for(LoginLog logVO : webMenuLogList) { @@ -499,13 +505,14 @@ public class EgovLoginLogController { tempLog.setMenuCnt(totalCnt); logVO.getLogDataList().add(tempLog); } + */ model.addAttribute("userMenuList", userMenuList); /* paginationInfo.setTotalRecordCount( webLogList.size()> 0 ? ((LoginLog)webLogList.get(0)).getTotCnt() : 0); model.addAttribute("webLogList", webLogList);*/ - paginationInfo.setTotalRecordCount(userMenuList.size()); - model.addAttribute("paginationInfo", paginationInfo); + //paginationInfo.setTotalRecordCount(userMenuList.size()); + //model.addAttribute("paginationInfo", paginationInfo); return "sym/log/clg/SelectWebLogList"; } 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 574de3ac..16327a92 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 @@ -636,6 +636,29 @@ ORDER BY menuNo , creatDt DESC + + + ', {type: 'hidden', name: 'mltApprSeq', value: 'test'})); form.appendTo('body'); - commonPopWindowopenForm("/kccadr/adjReqMgOff/popup/adjReqMgrOffAppReqPop.do" , "850", "700", "AppReqPopup", form); + commonPopWindowopenForm("/kccadr/advcSttst/popup/adjReqMgrOffAppReqPop.do" , "850", "700", "AppReqPopup", form); form.remove(); } @@ -200,7 +200,7 @@
- +
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 21cc2937..f6cb6385 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 @@ -62,7 +62,8 @@ function fn_select(pageNo){ function fn_select_menu(progrmFileNm){ var frm = document.frm; frm.progrmFileNm.value=progrmFileNm; - frm.action = ""; + frm.action = ""; + //sym/log/clg/SelectWebLogList.do frm.submit(); } @@ -153,132 +154,157 @@ function webLogListExcelDownload(){ -
+ + " /> " /> - " /> - " /> - " /> - -
-
-
-

사용자메뉴별접속통계

-

사용자메뉴별접속통계 파악할 수 있습니다.

-
-
-
- - - - - - + +
+
+ + +
+

사용자메뉴별접속통계

+
    +
  • +
  • +

    운영관리

    +
  • +
  • +

    로그관리

    +
  • +
  • 사용자메뉴별접속통계
  • +
+ + +
-
-

리스트 수 :

- - - - " readonly > - - - -   ~   - " readonly > - - - - - -
- - - <%-- --%> + +
+
+ +
-
-
- - - - - - + + + +
+
+ + + + + + + + - - - - - - - - + + + + + - - + + + - - - - - - - + + + + + + + - + - -
번호메뉴명 - - ${fn:substring(result.creatDt,5,7)}
- ${fn:substring(result.creatDt,8,10)} -
- - ${fn:substring(result.creatDt,0,4)}
- ${fn:substring(result.creatDt,5,8)} -
- - ${fn:substring(result.creatDt,0,4)} - -
합계번호 메뉴명 접속수 최초접속일자 최종접속일자
- - - - - - - - - ${resultLogData.menuCnt}
+ + + +
+ + + +<%-- --%> + +
-
- -
- -
- -
    - -
- -
-
@@ -288,6 +314,6 @@ function webLogListExcelDownload(){ - + \ No newline at end of file