2024-05-23 10:55 관리자로그/사용자로그를 접속ID로 검색할수 있도록 기능 추가
This commit is contained in:
parent
5934aaf82f
commit
bbfad24d20
@ -263,6 +263,8 @@
|
||||
( a.MENU_NM LIKE '%'||#searchKeyword#||'%'
|
||||
OR
|
||||
b.URL LIKE '%'||#searchKeyword#||'%'
|
||||
OR
|
||||
c.USER_ID LIKE '%'||#searchKeyword#||'%'
|
||||
)
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
||||
@ -271,6 +273,9 @@
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="2">
|
||||
b.URL LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="3">
|
||||
c.USER_ID LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty property="searchStartDt">
|
||||
@ -364,13 +369,16 @@
|
||||
AND a.CONECT_ID != ''
|
||||
<isNotEmpty property="searchKeyword">
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
||||
( a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%') OR a.URL LIKE CONCAT('%' , #searchKeyword#, '%') )
|
||||
( a.MENU_NM LIKE '%'||#searchKeyword#||'%' OR a.URL LIKE '%'||#searchKeyword#||'%' OR c.USER_ID LIKE '%'||#searchKeyword#||'%' )
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
||||
a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
a.MENU_NM LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="2">
|
||||
a.URL LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||
a.URL LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="3">
|
||||
c.USER_ID LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
</select>
|
||||
@ -404,13 +412,16 @@
|
||||
|
||||
<isNotEmpty property="searchKeyword">
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
||||
( a.MENU_NM LIKE '%'||#searchKeyword#||'%' OR a.URL LIKE '%'||#searchKeyword#||'%' )
|
||||
( a.MENU_NM LIKE '%'||#searchKeyword#||'%' OR b.URL LIKE '%'||#searchKeyword#||'%' OR c.USER_ID LIKE '%'||#searchKeyword#||'%' )
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
||||
a.MENU_NM LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="2">
|
||||
a.URL LIKE '%'||#searchKeyword#||'%'
|
||||
b.URL LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="3">
|
||||
c.USER_ID LIKE '%'||#searchKeyword#||'%'
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
@ -142,6 +142,7 @@ function fncReset(thisObj){
|
||||
<option value='' <c:if test="${searchVO.searchCondition == ''}">selected</c:if> >전체</option>
|
||||
<option value='1' <c:if test="${searchVO.searchCondition == '1'}">selected</c:if>>메뉴명</option>
|
||||
<option value='2' <c:if test="${searchVO.searchCondition == '2'}">selected</c:if>>URL</option>
|
||||
<option value='3' <c:if test="${searchVO.searchCondition == '3'}">selected</c:if>>접속ID</option>
|
||||
</select>
|
||||
|
||||
<input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
|
||||
@ -247,7 +248,7 @@ function fncReset(thisObj){
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty adminLogList}">
|
||||
<tr><td colspan="10"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -76,7 +76,7 @@ function linkPage(pageNo){
|
||||
if($('#searchConditionSite').length != 0){
|
||||
frm.searchConditionSite.value = $('#searchConditionSite').val();
|
||||
}
|
||||
frm.action = "<c:url value='/sym/log/clg/SelectLoginLogList.do'/>";
|
||||
frm.action = "<c:url value='/sym/log/clg/NSelectWebLogList.do'/>";
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
@ -125,6 +125,7 @@ function logListExcelDownload(){
|
||||
<option value='' <c:if test="${searchVO.searchCondition == ''}">selected</c:if> >전체</option>
|
||||
<option value='1' <c:if test="${searchVO.searchCondition == '1'}">selected</c:if>>메뉴명</option>
|
||||
<option value='2' <c:if test="${searchVO.searchCondition == '2'}">selected</c:if>>URL</option>
|
||||
<option value='3' <c:if test="${searchVO.searchCondition == '3'}">selected</c:if>>접속ID</option>
|
||||
</select>
|
||||
|
||||
<input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user