2024-06-12 관리자 로그인 검색 쿼리 수정
This commit is contained in:
parent
f01d1b95b9
commit
4ad4c9a37f
@ -270,7 +270,7 @@
|
|||||||
AND a.CONECT_ID != ''
|
AND a.CONECT_ID != ''
|
||||||
<isNotEmpty property="searchKeyword">
|
<isNotEmpty property="searchKeyword">
|
||||||
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
||||||
( a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%') OR a.URL LIKE CONCAT('%' , #searchKeyword#, '%') )
|
( a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%') OR a.URL LIKE CONCAT('%' , #searchKeyword#, '%') OR c.EMPLYR_ID LIKE CONCAT('%' , #searchKeyword#, '%') )
|
||||||
</isEqual>
|
</isEqual>
|
||||||
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
||||||
a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%')
|
a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||||
@ -278,6 +278,9 @@
|
|||||||
<isEqual prepend="AND" property="searchCondition" compareValue="2">
|
<isEqual prepend="AND" property="searchCondition" compareValue="2">
|
||||||
a.URL LIKE CONCAT('%' , #searchKeyword#, '%')
|
a.URL LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||||
</isEqual>
|
</isEqual>
|
||||||
|
<isEqual prepend="AND" property="searchCondition" compareValue="3">
|
||||||
|
c.EMPLYR_ID LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||||
|
</isEqual>
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
|
|
||||||
<isNotEmpty prepend="AND" property="searchStartDate">
|
<isNotEmpty prepend="AND" property="searchStartDate">
|
||||||
@ -302,6 +305,7 @@
|
|||||||
|
|
||||||
<!-- 관리자 로그 접속 TOTCNT -->
|
<!-- 관리자 로그 접속 TOTCNT -->
|
||||||
<select id="LoginLogDAO.selectAmdinLogTotCnt" parameterClass="loginLog" resultClass="int">
|
<select id="LoginLogDAO.selectAmdinLogTotCnt" parameterClass="loginLog" resultClass="int">
|
||||||
|
/* LoginLogDAO.selectAmdinLogTotCnt */
|
||||||
SELECT
|
SELECT
|
||||||
COUNT(0)
|
COUNT(0)
|
||||||
FROM
|
FROM
|
||||||
@ -312,7 +316,7 @@
|
|||||||
AND a.CONECT_ID != ''
|
AND a.CONECT_ID != ''
|
||||||
<isNotEmpty property="searchKeyword">
|
<isNotEmpty property="searchKeyword">
|
||||||
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
||||||
( a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%') OR a.URL LIKE CONCAT('%' , #searchKeyword#, '%') )
|
( a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%') OR a.URL LIKE CONCAT('%' , #searchKeyword#, '%') OR c.EMPLYR_ID LIKE CONCAT('%' , #searchKeyword#, '%') )
|
||||||
</isEqual>
|
</isEqual>
|
||||||
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
||||||
a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%')
|
a.MENU_NM LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||||
@ -320,6 +324,9 @@
|
|||||||
<isEqual prepend="AND" property="searchCondition" compareValue="2">
|
<isEqual prepend="AND" property="searchCondition" compareValue="2">
|
||||||
a.URL LIKE CONCAT('%' , #searchKeyword#, '%')
|
a.URL LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||||
</isEqual>
|
</isEqual>
|
||||||
|
<isEqual prepend="AND" property="searchCondition" compareValue="3">
|
||||||
|
c.EMPLYR_ID LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||||
|
</isEqual>
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
|
|
||||||
<isNotEmpty prepend="AND" property="searchStartDate">
|
<isNotEmpty prepend="AND" property="searchStartDate">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user