|
|
@ -61,7 +61,7 @@ SELECT USER_ID
|
|
|
|
, GRP_ID
|
|
|
|
, GRP_ID
|
|
|
|
, ORG_ID
|
|
|
|
, ORG_ID
|
|
|
|
, DEPT_CD
|
|
|
|
, DEPT_CD
|
|
|
|
, (CASE
|
|
|
|
, (CASE
|
|
|
|
WHEN A.DEPT_CD = 'default'
|
|
|
|
WHEN A.DEPT_CD = 'default'
|
|
|
|
THEN '기본 부서'
|
|
|
|
THEN '기본 부서'
|
|
|
|
ELSE (SELECT DEPT_NM FROM TB_DEPT_INFO WHERE DEPT_CD = A.DEPT_CD)
|
|
|
|
ELSE (SELECT DEPT_NM FROM TB_DEPT_INFO WHERE DEPT_CD = A.DEPT_CD)
|
|
|
@ -71,7 +71,7 @@ SELECT USER_ID
|
|
|
|
, (CASE
|
|
|
|
, (CASE
|
|
|
|
WHEN A.NSTT_CD = 'default'
|
|
|
|
WHEN A.NSTT_CD = 'default'
|
|
|
|
THEN '기본 기관'
|
|
|
|
THEN '기본 기관'
|
|
|
|
ELSE (SELECT INST_NM FROM TB_SGG_INFO WHERE INST_CD = A.NSTT_CD LIMIT 1)
|
|
|
|
ELSE (SELECT INST_NM FROM TB_SGG_INFO WHERE INST_CD = A.NSTT_CD AND SGG_CD = A.ORG_ID)
|
|
|
|
END
|
|
|
|
END
|
|
|
|
) AS NSTT_NM
|
|
|
|
) AS NSTT_NM
|
|
|
|
, CRTFC_DN
|
|
|
|
, CRTFC_DN
|
|
|
@ -218,7 +218,7 @@ UPDATE TB_USER SET
|
|
|
|
, LOCK_DT = NULL</if>
|
|
|
|
, LOCK_DT = NULL</if>
|
|
|
|
, MDFCN_DT =<include refid="utility.now" />
|
|
|
|
, MDFCN_DT =<include refid="utility.now" />
|
|
|
|
, MDFR = #{currentUser.id}
|
|
|
|
, MDFR = #{currentUser.id}
|
|
|
|
WHERE USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)
|
|
|
|
WHERE USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
<update id="setStatus" parameterType="map">/* 사용자 상태 변경(userMapper.setStatus) */
|
|
|
|
<update id="setStatus" parameterType="map">/* 사용자 상태 변경(userMapper.setStatus) */
|
|
|
|