From 02a2c45cd0b575c02385b0cb719beac28d1d7645 Mon Sep 17 00:00:00 2001 From: myname Date: Thu, 10 Nov 2022 11:34:07 +0900 Subject: [PATCH] =?UTF-8?q?2022-11-10=2011:33=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EA=B4=80=EB=A6=AC=20=ED=99=94=EB=A9=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sym/log/clg/web/EgovLoginLogController.java | 14 +++++++++++++- .../kccadr/advc/AdrHstryMgrDetail_SQL_Cubrid.xml | 4 ++-- .../WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp | 5 +---- .../WEB-INF/jsp/sym/log/clg/SelectWebLogList.jsp | 3 --- .../WEB-INF/jsp/sym/log/doc/SelectDocLogList1.jsp | 9 +++------ .../WEB-INF/jsp/sym/log/doc/SelectDocLogList2.jsp | 10 +++++----- 6 files changed, 24 insertions(+), 21 deletions(-) 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(){

사용자메뉴별접속통계

  • -
  • -

    운영관리

    -
  • 로그관리

  • diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/doc/SelectDocLogList1.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/doc/SelectDocLogList1.jsp index 762de001..b47b17a6 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/doc/SelectDocLogList1.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/doc/SelectDocLogList1.jsp @@ -177,16 +177,13 @@ function webLogListExcelDownload(){
    -

    사용자메뉴별접속통계

    +

    사건문서이력조회

    • -
    • -

      운영관리

      -
    • 로그관리

    • -
    • 사용자메뉴별접속통계
    • +
    • 사건문서이력조회
    @@ -305,7 +302,7 @@ function webLogListExcelDownload(){ 번호 - 메뉴명 + 조정번호 접속수 최초접속일자 최종접속일자 diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/doc/SelectDocLogList2.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/doc/SelectDocLogList2.jsp index 2885beff..f48032d3 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/doc/SelectDocLogList2.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/doc/SelectDocLogList2.jsp @@ -186,16 +186,16 @@ function webLogListExcelDownload(){
    -

    사용자메뉴별접속통계

    +

    사건문서이력조회

    • -
    • -

      운영관리

      -
    • 로그관리

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

      사건문서이력조회

      +
    • +
    • 사건문서이력조회