|
|
|
@ -1568,9 +1568,9 @@
|
|
|
|
|
/** findXitLoginPolicys */
|
|
|
|
|
/** 로그인정책 다건 조회 */
|
|
|
|
|
SELECT USER_ID
|
|
|
|
|
,IP_INFO
|
|
|
|
|
,IP_ADDR
|
|
|
|
|
,DPLCT_YN
|
|
|
|
|
,LMTT_YN
|
|
|
|
|
,LIMIT_YN
|
|
|
|
|
,REG_DT
|
|
|
|
|
,RGTR
|
|
|
|
|
,MDFCN_DT
|
|
|
|
@ -1578,9 +1578,9 @@
|
|
|
|
|
FROM XIT_LOGIN_POLICY
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_id )">AND USER_ID = #{user_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ip_info )">AND IP_INFO = #{ip_info }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ip_addr )">AND IP_ADDR = #{ip_addr }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dplct_yn )">AND DPLCT_YN = #{dplct_yn }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(lmtt_yn )">AND LMTT_YN = #{lmtt_yn }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(limit_yn )">AND LIMIT_YN = #{limit_yn }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(reg_dt)">AND REG_DT = #{reg_dt}</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(rgtr )">AND RGTR = #{rgtr }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mdfcn_dt )">AND MDFCN_DT = #{mdfcn_dt }</if>
|
|
|
|
@ -1590,9 +1590,9 @@
|
|
|
|
|
/** findXitLoginPolicy */
|
|
|
|
|
/** 로그인정책 조회 */
|
|
|
|
|
SELECT USER_ID
|
|
|
|
|
,IP_INFO
|
|
|
|
|
,IP_ADDR
|
|
|
|
|
,DPLCT_YN
|
|
|
|
|
,LMTT_YN
|
|
|
|
|
,LIMIT_YN
|
|
|
|
|
,REG_DT
|
|
|
|
|
,RGTR
|
|
|
|
|
,MDFCN_DT
|
|
|
|
@ -1606,9 +1606,9 @@
|
|
|
|
|
/** 로그인정책 등록 */
|
|
|
|
|
INSERT INTO XIT_LOGIN_POLICY(
|
|
|
|
|
USER_ID
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ip_info )">,IP_INFO </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ip_addr )">,IP_ADDR </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dplct_yn )">,DPLCT_YN </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(lmtt_yn )">,LMTT_YN </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(limit_yn )">,LIMIT_YN </if>
|
|
|
|
|
,REG_DT
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(rgtr )">,RGTR </if>
|
|
|
|
|
,MDFCN_DT
|
|
|
|
@ -1616,9 +1616,9 @@
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(rgtr )">,MDFR </if>
|
|
|
|
|
)VALUES(
|
|
|
|
|
#{user_id }
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ip_info )">,#{ip_info }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ip_addr )">,#{ip_addr }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dplct_yn )">,#{dplct_yn }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(lmtt_yn )">,#{lmtt_yn }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(limit_yn )">,#{limit_yn }</if>
|
|
|
|
|
,NOW()
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(rgtr )">,#{rgtr }</if>
|
|
|
|
|
,NOW()
|
|
|
|
@ -1632,9 +1632,9 @@
|
|
|
|
|
UPDATE XIT_LOGIN_POLICY
|
|
|
|
|
SET
|
|
|
|
|
MDFCN_DT = NOW()
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(ip_info )">,IP_INFO = #{ip_info }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(ip_addr )">,IP_ADDR = #{ip_addr }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dplct_yn )">,DPLCT_YN = #{dplct_yn }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(lmtt_yn )">,LMTT_YN = #{lmtt_yn }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(limit_yn )">,LIMIT_YN = #{limit_yn }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(reg_dt)">,REG_DT = #{reg_dt}</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(rgtr )">,RGTR = #{rgtr }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(mdfr )">,MDFR = #{mdfr }</if>
|
|
|
|
|