|
|
@ -17,13 +17,14 @@
|
|
|
|
/* 로그인 정책 목록 조회(policyMapper.getPolicyList) */
|
|
|
|
/* 로그인 정책 목록 조회(policyMapper.getPolicyList) */
|
|
|
|
<include refid="utility.paging-prefix"/>
|
|
|
|
<include refid="utility.paging-prefix"/>
|
|
|
|
SELECT A.USER_ID
|
|
|
|
SELECT A.USER_ID
|
|
|
|
, USER_NM
|
|
|
|
, A.USER_NM
|
|
|
|
, IP_ADRS
|
|
|
|
, B.IP_ADRS
|
|
|
|
, DPLCT_YN
|
|
|
|
, B.DPLCT_YN
|
|
|
|
, LIMIT_YN
|
|
|
|
, B.LIMIT_YN
|
|
|
|
, MDFR
|
|
|
|
, B.MDFR
|
|
|
|
, MDFCN_DT
|
|
|
|
, B.MDFCN_DT
|
|
|
|
FROM TB_USER A LEFT OUTER JOIN TB_LOGIN_POLICY B ON A.USER_ID = B.USER_ID
|
|
|
|
FROM TB_USER A
|
|
|
|
|
|
|
|
LEFT OUTER JOIN TB_LOGIN_POLICY B ON (A.USER_ID = B.USER_ID)
|
|
|
|
<if test="term != null">WHERE A.${by} LIKE CONCAT('%', #{term}, '%')</if>
|
|
|
|
<if test="term != null">WHERE A.${by} LIKE CONCAT('%', #{term}, '%')</if>
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.orderBy" />
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
|
<include refid="utility.paging-suffix"/>
|
|
|
@ -31,7 +32,14 @@ SELECT A.USER_ID
|
|
|
|
|
|
|
|
|
|
|
|
<select id="getPolicies" parameterType="map" resultMap="policyRow">
|
|
|
|
<select id="getPolicies" parameterType="map" resultMap="policyRow">
|
|
|
|
/* 로그인 정책 가져오기(policyMapper.getPolicies) */
|
|
|
|
/* 로그인 정책 가져오기(policyMapper.getPolicies) */
|
|
|
|
SELECT *
|
|
|
|
SELECT USER_ID
|
|
|
|
|
|
|
|
, IP_ADRS
|
|
|
|
|
|
|
|
, DPLCT_YN
|
|
|
|
|
|
|
|
, LIMIT_YN
|
|
|
|
|
|
|
|
, REG_DT
|
|
|
|
|
|
|
|
, RGTR
|
|
|
|
|
|
|
|
, MDFCN_DT
|
|
|
|
|
|
|
|
, MDFR
|
|
|
|
FROM TB_LOGIN_POLICY
|
|
|
|
FROM TB_LOGIN_POLICY
|
|
|
|
<if test="userIDs != null">WHERE USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)</if>
|
|
|
|
<if test="userIDs != null">WHERE USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)</if>
|
|
|
|
ORDER BY USER_ID
|
|
|
|
ORDER BY USER_ID
|
|
|
|