보안로그인 > 로그인 로그 3개월 전만 조회

This commit is contained in:
hehihoho3@gmail.com 2024-11-22 17:59:35 +09:00
parent cbb66335e0
commit aeccdf7434
2 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@
from lettngnrlmber_cert_login_log_ip
where LOGIN_ID = #mberId#
and LOGIN_IP = #certIp#
and LOGIN_DT > date_add(now(), interval -92 day)
union all
select
CERT_IP as certIp

View File

@ -28,6 +28,7 @@
FROM LETTNGNRLMBER_CERT_LOGIN_LOG_IP
WHERE 1=1
and LOGIN_ID = #loginId#
and LOGIN_DT > date_add(now(), interval -92 day)
ORDER BY 1=1
<isNotEmpty property="searchSortCnd">
,$searchSortCnd$