diff --git a/src/main/resources/sql/mapper/base/user-mapper.xml b/src/main/resources/sql/mapper/base/user-mapper.xml index a0121f28..aafeedb9 100644 --- a/src/main/resources/sql/mapper/base/user-mapper.xml +++ b/src/main/resources/sql/mapper/base/user-mapper.xml @@ -39,7 +39,8 @@ - + + SELECT USER_ID , USER_ACNT , USER_NM @@ -83,12 +84,15 @@ SELECT USER_ID , STTS , (SELECT GET_CODE_NM('CMN004', STTS) FROM DUAL) AS STTS_NM FROM TB_USER A -AND ${by} LIKE CONCAT('%', #{term}, '%') + + AND ${by} LIKE CONCAT('%', #{term}, '%') USER_ID IN (#{userID}) AND STTS != 'D' - AND STTS = #{status} - - + AND STTS = #{status} + + + + @@ -179,7 +183,8 @@ INSERT INTO TB_USER ( , #{status} ) -/* 사용자 정보 수정(userMapper.updateUser) */ + +/* 사용자 정보 수정(userMapper.updateUser) */ UPDATE TB_USER SET USER_NM = #{name} , PASSWD_HINT = #{passwordHint} @@ -207,7 +212,8 @@ UPDATE TB_USER SET , MDFR = #{modifiedBy} WHERE USER_ID = #{id} -/* 비밀번호 변경(userMapper.changePassword) */ + +/* 비밀번호 변경(userMapper.changePassword) */ UPDATE TB_USER SET PASSWD = CASE USER_ID WHEN #{userPassword.userID} THEN #{userPassword.password} @@ -217,7 +223,8 @@ UPDATE TB_USER SET WHERE USER_ID IN (#{userID}) -/* 사용자 잠김 해제(userMapper.lockUsers) */ + +/* 사용자 잠김 해제(userMapper.lockUsers) */ UPDATE TB_USER SET LOCK_YN = 'Y' , LOCK_CNT = LOCK_CNT + 1 @@ -230,7 +237,8 @@ UPDATE TB_USER SET WHERE USER_ID IN (#{userID}) -/* 사용자 상태 변경(userMapper.setStatus) */ + +/* 사용자 상태 변경(userMapper.setStatus) */ UPDATE TB_USER SET STTS = #{status} , USE_YN = 'N'