# WARNING: head commit changed in the meantime

Merge branch 'master' of
http://yongjoon.cho@vcs.iten.co.kr:9999/itnAdmin/fairnet

로그 정보
This commit is contained in:
myname 2024-10-28 17:39:02 +09:00
parent 32508c066d
commit 9b6f7a3a2a
9 changed files with 350 additions and 25 deletions

View File

@ -3,6 +3,7 @@ package kcc.let.sym.log.clg.web;
import java.io.OutputStream; import java.io.OutputStream;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;
@ -105,7 +106,7 @@ public class EgovLoginLogController {
loginLog.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); loginLog.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
if("".equals(loginLog.getSearchSortCnd())){ //최초조회시 최신것 조회List if("".equals(loginLog.getSearchSortCnd())){ //최초조회시 최신것 조회List
loginLog.setSearchSortCnd("logId"); loginLog.setSearchSortCnd("b.creat_dt");
loginLog.setSearchSortOrd("desc"); loginLog.setSearchSortOrd("desc");
} }
List<LoginLog> adminLogList = loginLogService.selectAmdinLog(loginLog); List<LoginLog> adminLogList = loginLogService.selectAmdinLog(loginLog);
@ -191,7 +192,7 @@ public class EgovLoginLogController {
paginationInfo.setTotalRecordCount(adminLogListCnt); paginationInfo.setTotalRecordCount(adminLogListCnt);
model.addAttribute("paginationInfo", paginationInfo); model.addAttribute("paginationInfo", paginationInfo);
model.addAttribute("adminLogList", adminLogList); model.addAttribute("adminLogList", adminLogList);
return "sym/log/clg/NSelectWebLogList"; return "/sym/log/clg/NSelectWebLogList";
} }
/** /**
@ -522,8 +523,6 @@ public class EgovLoginLogController {
public String selectWebLogList(@ModelAttribute("searchVO") LoginLog loginLog, public String selectWebLogList(@ModelAttribute("searchVO") LoginLog loginLog,
@RequestParam Map<String, Object> commandMap , @RequestParam Map<String, Object> commandMap ,
ModelMap model) throws Exception { ModelMap model) throws Exception {
/*
if(loginLog.getPageUnit() != 10) { if(loginLog.getPageUnit() != 10) {
loginLog.setPageUnit(loginLog.getPageUnit()); loginLog.setPageUnit(loginLog.getPageUnit());
} }
@ -533,16 +532,20 @@ public class EgovLoginLogController {
} }
if("".equals(loginLog.getSearchBgnDe())) { //최초 로딩 일별 30일까지 if("".equals(loginLog.getSearchBgnDe())) { //최초 로딩 일별 30일까지
Date today = new Date(); Date today = new Date();
Calendar cal = Calendar.getInstance();
cal.setTime(today);
cal.add(Calendar.DATE, 0);
SimpleDateFormat date = new SimpleDateFormat("yyyy-MM-dd", Locale.KOREA); SimpleDateFormat date = new SimpleDateFormat("yyyy-MM-dd", Locale.KOREA);
loginLog.setSearchEndDe(date.format(today)); //오늘 loginLog.setSearchEndDe(date.format(cal.getTime())); //오늘
Calendar mon = Calendar.getInstance(); //한달 Calendar mon = Calendar.getInstance(); //한달
mon.add(Calendar.MONTH , -1); mon.add(Calendar.DATE , -7);
String beforeMonth = new java.text.SimpleDateFormat("yyyy-MM-dd").format(mon.getTime()); String beforeMonth = new java.text.SimpleDateFormat("yyyy-MM-dd").format(mon.getTime());
loginLog.setSearchBgnDe(beforeMonth); loginLog.setSearchBgnDe(beforeMonth);
} }
*/
/*
PaginationInfo paginationInfo = new PaginationInfo(); PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(loginLog.getPageIndex()); paginationInfo.setCurrentPageNo(loginLog.getPageIndex());
paginationInfo.setRecordCountPerPage(loginLog.getPageUnit()); paginationInfo.setRecordCountPerPage(loginLog.getPageUnit());
@ -557,21 +560,21 @@ public class EgovLoginLogController {
loginLog.setSearchSortCnd("logId"); loginLog.setSearchSortCnd("logId");
loginLog.setSearchSortOrd("asc"); loginLog.setSearchSortOrd("asc");
} }
*/
//List<LoginLog> webMenuLogList = loginLogService.selectWebMenuLogList(loginLog); //사용자 매뉴 리스트 List<LoginLog> webMenuLogList = loginLogService.selectWebMenuLogList(loginLog); //사용자 매뉴 리스트
List<LoginLog> userMenuList = loginLogService.selectUserMenuList20221108(loginLog); //사용자 매뉴(전체) List<LoginLog> userMenuList = loginLogService.selectUserMenuList20221108(loginLog); //사용자 매뉴(전체)
/*
for(LoginLog userMenuVO :userMenuList){ for(LoginLog userMenuVO :userMenuList){
List<LoginLog> tempDataList = new ArrayList<LoginLog>(); List<LoginLog> tempDataList = new ArrayList<LoginLog>();
for(LoginLog logVO : webMenuLogList) { for(LoginLog logVO : webMenuLogList) {
if(userMenuVO.getProgrmFileNm().equals(logVO.getProgrmFileNm())){ /*
if(userMenuVO.getMenuNm().equals(logVO.getMenuNm())){
LoginLog tempLog = new LoginLog(); LoginLog tempLog = new LoginLog();
tempLog.setCreatDt(logVO.getCreatDt()); tempLog.setCreatDt(logVO.getCreatDt());
tempLog.setMenuCnt(logVO.getMenuCnt()); tempLog.setMenuCnt(logVO.getMenuCnt());
tempDataList.add(tempLog); tempDataList.add(tempLog);
} }
*/
} }
userMenuVO.setLogDataList(tempDataList); //메뉴이름 + list배열 userMenuVO.setLogDataList(tempDataList); //메뉴이름 + list배열
} }
@ -588,15 +591,15 @@ public class EgovLoginLogController {
tempLog.setMenuCnt(totalCnt); tempLog.setMenuCnt(totalCnt);
logVO.getLogDataList().add(tempLog); logVO.getLogDataList().add(tempLog);
} }
*/
model.addAttribute("userMenuList", userMenuList); model.addAttribute("userMenuList", userMenuList);
/* paginationInfo.setTotalRecordCount( webLogList.size()> 0 ? ((LoginLog)webLogList.get(0)).getTotCnt() : 0); /* paginationInfo.setTotalRecordCount( webLogList.size()> 0 ? ((LoginLog)webLogList.get(0)).getTotCnt() : 0);
model.addAttribute("webLogList", webLogList);*/ model.addAttribute("webLogList", webLogList);*/
//paginationInfo.setTotalRecordCount(userMenuList.size()); paginationInfo.setTotalRecordCount(userMenuList.size());
//model.addAttribute("paginationInfo", paginationInfo); model.addAttribute("paginationInfo", paginationInfo);
return "sym/log/clg/SelectWebLogList"; return "/sym/log/clg/SelectWebLogList";
//return new ModelAndView("/sym/log/clg/SelectWebLogList");
} }
/** /**

View File

@ -908,6 +908,7 @@
) A ) A
WHERE A.Dates BETWEEN '2020-09-09' AND DATE_FORMAT(NOW() , '%Y-%m-%d') WHERE A.Dates BETWEEN '2020-09-09' AND DATE_FORMAT(NOW() , '%Y-%m-%d')
</select> </select>
<!-- 사용자 메뉴별 접속 로그 리스트(사용자 매뉴(전체)) --> <!-- 사용자 메뉴별 접속 로그 리스트(사용자 매뉴(전체)) -->
<select id="LoginLogDAO.selectUserMenuList" parameterClass="loginLog" resultClass="loginLog"> <select id="LoginLogDAO.selectUserMenuList" parameterClass="loginLog" resultClass="loginLog">
/* 임시.*NOT_SQL_LOG.* */ /* 임시.*NOT_SQL_LOG.* */

View File

@ -237,6 +237,11 @@
<select id="LoginLogDAO.selectAmdinLog" parameterClass="loginLog" resultClass="loginLog"> <select id="LoginLogDAO.selectAmdinLog" parameterClass="loginLog" resultClass="loginLog">
/* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectAmdinLog */ /* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectAmdinLog */
SELECT * FROM
(
SELECT ROW_.*, ROWNUM AS RNUM FROM
(
SELECT SELECT
COUNT(1) OVER() AS totCnt COUNT(1) OVER() AS totCnt
, a.MENU_NM AS menuNm , a.MENU_NM AS menuNm
@ -249,12 +254,19 @@
, c.USER_ID AS loginId , c.USER_ID AS loginId
, c.USER_NM AS userNm , c.USER_NM AS userNm
FROM LETTNADMINMETHOD a FROM LETTNADMINMETHOD a
/*
, LETTNADMINLOG b , LETTNADMINLOG b
*/
, lettnloginlog b
, COMVNUSERMASTER c , COMVNUSERMASTER c
WHERE 1=1 WHERE 1=1
AND a.use_yn='Y' AND NVL(a.use_yn,'Y')='Y'
AND a.method_cd='A' AND a.method_cd='A'
/*
AND a.METHOD_NM =b.PROGRM_FILE_NM AND a.METHOD_NM =b.PROGRM_FILE_NM
*/
AND a.MENU_NM = b.MENU_NM
AND b.CONECT_ID =c.ESNTL_ID AND b.CONECT_ID =c.ESNTL_ID
<isNotEmpty property="searchKeyword"> <isNotEmpty property="searchKeyword">
@ -291,10 +303,17 @@
<isNotEmpty property="searchSortOrd"> <isNotEmpty property="searchSortOrd">
$searchSortOrd$ $searchSortOrd$
</isNotEmpty> </isNotEmpty>
) ROW_
)
WHERE RNUM > #firstIndex# AND #recordCountPerPage# >= ROWNUM
/* /*
LIMIT recordCountPerPage OFFSET firstIndex LIMIT recordCountPerPage OFFSET firstIndex
*/ */
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY; /*
OFFSET firstIndex ROWS FETCH NEXT recordCountPerPage ROWS ONLY;
*/
</select> </select>
@ -359,6 +378,7 @@
<!-- 관리자 대쉬보드 접속 TOTCNT --> <!-- 관리자 대쉬보드 접속 TOTCNT -->
<select id="LoginLogDAO.selectAmdinLogTotCnt" parameterClass="loginLog" resultClass="int"> <select id="LoginLogDAO.selectAmdinLogTotCnt" parameterClass="loginLog" resultClass="int">
/* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectAmdinLogTotCnt */ /* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectAmdinLogTotCnt */
SELECT SELECT
COUNT(a.ADMINLOG_ID) COUNT(a.ADMINLOG_ID)
FROM FROM
@ -386,6 +406,11 @@
<select id="LoginLogDAO.selectNWebLog" parameterClass="loginLog" resultClass="loginLog"> <select id="LoginLogDAO.selectNWebLog" parameterClass="loginLog" resultClass="loginLog">
/* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectNWebLog */ /* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectNWebLog */
SELECT * FROM
(
SELECT ROW_.*, ROWNUM AS RNUM FROM
(
SELECT SELECT
COUNT(1) OVER() AS totCnt COUNT(1) OVER() AS totCnt
, a.MENU_NM AS menuNm , a.MENU_NM AS menuNm
@ -407,7 +432,10 @@
WHERE 1=1 WHERE 1=1
AND a.use_yn='Y' AND a.use_yn='Y'
AND a.method_cd='U' AND a.method_cd='U'
/*
AND a.METHOD_NM =b.PROGRM_FILE_NM AND a.METHOD_NM =b.PROGRM_FILE_NM
*/
AND a.MENU_NM =b.MENU_NM
<isNotEmpty property="searchKeyword"> <isNotEmpty property="searchKeyword">
<isEqual prepend="AND" property="searchCondition" compareValue=""> <isEqual prepend="AND" property="searchCondition" compareValue="">
@ -439,16 +467,29 @@
$searchSortOrd$ $searchSortOrd$
</isNotEmpty> </isNotEmpty>
) ROW_
)
WHERE RNUM > #firstIndex# AND #recordCountPerPage# >= ROWNUM
/* /*
LIMIT recordCountPerPage OFFSET firstIndex LIMIT recordCountPerPage OFFSET firstIndex
*/ */
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
/*
OFFSET firstIndex ROWS FETCH NEXT recordCountPerPage ROWS ONLY;
*/
</select> </select>
<!-- 관리자 로그설정 메소드 리스트 --> <!-- 관리자 로그설정 메소드 리스트 -->
<select id="LoginLogDAO.selectLogMethodList" parameterClass="loginLog" resultClass="loginLog"> <select id="LoginLogDAO.selectLogMethodList" parameterClass="loginLog" resultClass="loginLog">
/* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectLogMethodList */ /* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectLogMethodList */
SELECT * FROM
(
SELECT ROW_.*, ROWNUM AS RNUM FROM
(
SELECT SELECT
COUNT(A.ADMOT_ID) OVER() AS totCnt, COUNT(A.ADMOT_ID) OVER() AS totCnt,
A.ADMOT_ID AS admotId, A.ADMOT_ID AS admotId,
@ -488,10 +529,16 @@
<isNotEmpty property="searchSortOrd"> <isNotEmpty property="searchSortOrd">
$searchSortOrd$ $searchSortOrd$
</isNotEmpty> </isNotEmpty>
) ROW_
)
WHERE RNUM > #firstIndex# AND #recordCountPerPage# >= ROWNUM
/* /*
LIMIT recordCountPerPage OFFSET firstIndex LIMIT recordCountPerPage OFFSET firstIndex
OFFSET firstIndex ROWS FETCH NEXT recordCountPerPage ROWS ONLY;
*/ */
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
</select> </select>
@ -566,6 +613,7 @@
, MENU_NM = #menuNm# , MENU_NM = #menuNm#
, APPRO_NM = #approNm# , APPRO_NM = #approNm#
, PRIVACY = #privacy# , PRIVACY = #privacy#
, method_cd = #dateType#
, USE_YN = #useYn# , USE_YN = #useYn#
, sort_num = #sortNum# , sort_num = #sortNum#
WHERE ADMOT_ID = #admotId# WHERE ADMOT_ID = #admotId#
@ -1096,6 +1144,29 @@
ORDER BY C.menuNo , C.creatDt DESC ORDER BY C.menuNo , C.creatDt DESC
</select> </select>
<!-- 사용자 메뉴별 접속 로그 리스트 -->
<select id="LoginLogDAO.selectUserMenuList20221108" parameterClass="loginLog" resultClass="loginLog">
SELECT a.menu_nm AS menuNm
, COUNT(*) AS totalLogCnt
, MIN(a.creat_dt) AS searchStartDt
, Max(a.creat_dt) AS searchEndDt
FROM LETTNLOGINLOG A
WHERE 1=1
<isNotEmpty prepend="AND" property="searchKeyword">
a.menu_nm LIKE CONCAT('%',#searchKeyword#,'%')
</isNotEmpty>
<isNotEmpty prepend="AND" property="searchStartDt">
a.creat_dt >= TO_DATETIME(CONCAT (#searchStartDt#,' 00:00:00'),'YYYY-MM-DD HH24:MI:SS')
</isNotEmpty>
<isNotEmpty prepend="AND" property="searchEndDt">
TO_DATETIME(CONCAT (#searchEndDt#,' 23:59:59'),'YYYY-MM-DD HH24:MI:SS') >= a.creat_dt
</isNotEmpty>
GROUP BY menu_nm
</select>
<!-- 사용자 메뉴별 접속 로그 리스트 (접속일자(조회))--> <!-- 사용자 메뉴별 접속 로그 리스트 (접속일자(조회))-->
<select id="LoginLogDAO.selectDateLogList" parameterClass="loginLog" resultClass="loginLog"> <select id="LoginLogDAO.selectDateLogList" parameterClass="loginLog" resultClass="loginLog">
/* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectDateLogList */ /* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectDateLogList */
@ -1109,6 +1180,7 @@
) A ) A
WHERE A.Dates BETWEEN '2020-09-09' AND DATE_FORMAT(SYSDATE , '%Y-%m-%d') WHERE A.Dates BETWEEN '2020-09-09' AND DATE_FORMAT(SYSDATE , '%Y-%m-%d')
</select> </select>
<!-- 사용자 메뉴별 접속 로그 리스트(사용자 매뉴(전체)) --> <!-- 사용자 메뉴별 접속 로그 리스트(사용자 매뉴(전체)) -->
<select id="LoginLogDAO.selectUserMenuList" parameterClass="loginLog" resultClass="loginLog"> <select id="LoginLogDAO.selectUserMenuList" parameterClass="loginLog" resultClass="loginLog">
/* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectUserMenuList */ /* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectUserMenuList */

View File

@ -1078,6 +1078,29 @@
ORDER BY C.menuNo , C.creatDt DESC ORDER BY C.menuNo , C.creatDt DESC
</select> </select>
<!-- 사용자 메뉴별 접속 로그 리스트 -->
<select id="LoginLogDAO.selectUserMenuList20221108" parameterClass="loginLog" resultClass="loginLog">
SELECT a.menu_nm AS menuNm
, COUNT(*) AS totalLogCnt
, MIN(a.creat_dt) AS searchStartDt
, Max(a.creat_dt) AS searchEndDt
FROM LETTNLOGINLOG A
WHERE 1=1
<isNotEmpty prepend="AND" property="searchKeyword">
a.menu_nm LIKE CONCAT('%',#searchKeyword#,'%')
</isNotEmpty>
<isNotEmpty prepend="AND" property="searchStartDt">
a.creat_dt >= TO_DATETIME(CONCAT (#searchStartDt#,' 00:00:00'),'YYYY-MM-DD HH24:MI:SS')
</isNotEmpty>
<isNotEmpty prepend="AND" property="searchEndDt">
TO_DATETIME(CONCAT (#searchEndDt#,' 23:59:59'),'YYYY-MM-DD HH24:MI:SS') >= a.creat_dt
</isNotEmpty>
GROUP BY menu_nm
</select>
<!-- 사용자 메뉴별 접속 로그 리스트 (접속일자(조회))--> <!-- 사용자 메뉴별 접속 로그 리스트 (접속일자(조회))-->
<select id="LoginLogDAO.selectDateLogList" parameterClass="loginLog" resultClass="loginLog"> <select id="LoginLogDAO.selectDateLogList" parameterClass="loginLog" resultClass="loginLog">
/* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectDateLogList */ /* 임시.*NOT_SQL_LOG.* LoginLogDAO.selectDateLogList */

View File

@ -145,6 +145,61 @@ function logListExcelDownload(){
</div> </div>
<!-- //list_top --> <!-- //list_top -->
<div class="form-wrap">
<div class="table-layout">
<table>
<caption>분쟁조정 사례 테이블입니다.</caption>
<colgroup>
<col style="width: 5%">
<col style="width: 12%">
<%-- <col style="width: 9%"> --%>
<col style="width: 6%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 24%">
<col style="width: 15%">
</colgroup>
<thead>
<tr>
<th><p>번호</p><button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th><p>메뉴명</p><button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<!-- <th>접근구분 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th> -->
<th><p>메소드</p><button type="button" class="sortBtn sort" id="sort_progrmFileNm"></button></th>
<th><p>접속ID</p><button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th><p>접속IP</p><button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th><p>접속URL</p><button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th><p>접속일자</p><button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<tbody>
<c:forEach items="${adminLogList}" var="result" varStatus="status">
<tr>
<td>
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${searchVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td><c:out value="${result.menuNm}"/></td>
<%-- <td><c:out value="${result.methodNm}"/></td> --%>
<td><c:out value="${result.approNm}"/></td>
<td><span class="privateInfo"><c:out value="${result.loginId}"/></span></td>
<td><c:out value="${result.loginIp}"/></td>
<td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td><c:out value="${result.creatDt}"/></td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;">
<button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button>
</div>
</div>
<!-- list --> <!-- list -->
<div class="list tbType01"> <div class="list tbType01">
<table> <table>

View File

@ -135,6 +135,63 @@ function logListExcelDownload(){
</div> </div>
<!-- //list_top --> <!-- //list_top -->
<div class="form-wrap">
<div class="table-layout">
<table>
<caption>분쟁조정 사례 테이블입니다.</caption>
<colgroup>
<col style="width: 5%">
<col style="width: 12%">
<%-- <col style="width: 9%"> --%>
<col style="width: 6%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 24%">
<col style="width: 15%">
</colgroup>
<thead>
<tr>
<th><p>번호</p><button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th><p>메뉴명</p><button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<!-- <th>접근구분 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th> -->
<th><p>메소드</p><button type="button" class="sortBtn sort" id="sort_progrmFileNm"></button></th>
<th><p>접속ID</p><button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th><p>접속IP</p><button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th><p>접속URL</p><button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th><p>접속일자</p><button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<tbody>
<c:forEach items="${adminLogList}" var="result" varStatus="status">
<tr>
<td>
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${searchVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td><c:out value="${result.menuNm}"/></td>
<%-- <td><c:out value="${result.methodNm}"/></td> --%>
<td><c:out value="${result.approNm}"/></td>
<td><span class="privateInfo"><c:out value="${result.loginId}"/></span></td>
<td><c:out value="${result.loginIp}"/></td>
<td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td><c:out value="${result.creatDt}"/></td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;">
<button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button>
</div>
</div>
<!-- list --> <!-- list -->
<div class="list tbType01"> <div class="list tbType01">
<table> <table>
@ -177,7 +234,7 @@ function logListExcelDownload(){
<td><c:out value="${result.approNm}"/></td> <td><c:out value="${result.approNm}"/></td>
<td><span class="privateInfo"><c:out value="${result.loginId}"/></span></td> <td><span class="privateInfo"><c:out value="${result.loginId}"/></span></td>
<td><c:out value="${result.loginIp}"/></td> <td><c:out value="${result.loginIp}"/></td>
<td class="td_wrap t_left"><c:out value="${result.url}"/></td> <td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td><c:out value="${result.creatDt}"/></td> <td><c:out value="${result.creatDt}"/></td>
</tr> </tr>
</c:forEach> </c:forEach>

View File

@ -197,6 +197,61 @@ function fnCheckAll(){
</div> </div>
<!-- //list_top --> <!-- //list_top -->
<div class="form-wrap">
<div class="table-layout">
<table>
<caption>분쟁조정 사례 테이블입니다.</caption>
<colgroup>
<col style="width: 5%">
<col style="width: 12%">
<%-- <col style="width: 9%"> --%>
<col style="width: 6%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 24%">
<col style="width: 15%">
</colgroup>
<thead>
<tr>
<th><p>번호</p><button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th><p>메뉴명</p><button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<!-- <th>접근구분 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th> -->
<th><p>메소드</p><button type="button" class="sortBtn sort" id="sort_progrmFileNm"></button></th>
<th><p>접속ID</p><button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th><p>접속IP</p><button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th><p>접속URL</p><button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th><p>접속일자</p><button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<tbody>
<c:forEach items="${logMethodList}" var="result" varStatus="status">
<tr>
<td>
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${searchVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td><c:out value="${result.menuNm}"/></td>
<%-- <td><c:out value="${result.methodNm}"/></td> --%>
<td><c:out value="${result.approNm}"/></td>
<td><span class="privateInfo"><c:out value="${result.loginId}"/></span></td>
<td><c:out value="${result.loginIp}"/></td>
<td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td><c:out value="${result.creatDt}"/></td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;">
<button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button>
</div>
</div>
<!-- list --> <!-- list -->
<div class="list tbType01"> <div class="list tbType01">
<table> <table>

View File

@ -258,6 +258,63 @@ function webLogListExcelDownload(){
</div> </div>
<!-- //list_top --> <!-- //list_top -->
<div class="form-wrap">
<div class="table-layout">
<table>
<caption>분쟁조정 사례 테이블입니다.</caption>
<colgroup>
<col style="width: 5%">
<col style="width: 12%">
<%-- <col style="width: 9%"> --%>
<col style="width: 6%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 24%">
<col style="width: 15%">
</colgroup>
<thead>
<tr>
<th><p>번호</p><button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th><p>메뉴명</p><button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<!-- <th>접근구분 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th> -->
<th><p>메소드</p><button type="button" class="sortBtn sort" id="sort_progrmFileNm"></button></th>
<th><p>접속ID</p><button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th><p>접속IP</p><button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th><p>접속URL</p><button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th><p>접속일자</p><button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<tbody>
<c:forEach items="${userMenuList}" var="result" varStatus="status">
<tr>
<td>
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${searchVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td><c:out value="${result.menuNm}"/></td>
<%-- <td><c:out value="${result.methodNm}"/></td> --%>
<td><c:out value="${result.approNm}"/></td>
<td><span class="privateInfo"><c:out value="${result.loginId}"/></span></td>
<td><c:out value="${result.loginIp}"/></td>
<td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td><c:out value="${result.creatDt}"/></td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;">
<button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button>
</div>
</div>
<!-- list --> <!-- list -->
<div class="list tbType01"> <div class="list tbType01">
<table> <table>

View File

@ -270,7 +270,9 @@ function fn_delete() {
</tr> </tr>
<tr> <tr>
<th><span class="reqArea">사용자구분</span></th> <th><span class="reqArea">사용자구분</span></th>
<td style="text-align:left;">${loginLog.dateType}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cfText c_ed4555">U(사용자) / A(관리자)</span> <td style="text-align:left;">
<input type="text" size="100" name="dateType" value="${empty loginLog.admotId ? 'N' : loginLog.dateType }" title="dateType" maxlength="100" />
${loginLog.dateType}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cfText c_ed4555">U(사용자) / A(관리자)</span>
</td> </td>
</tr> </tr>