SELECT 쿼리 애스터리스크(*) 제거

dev
이범준 5 months ago
parent 2cd5847eea
commit 50936853d0

@ -88,7 +88,39 @@ SELECT USER_ID
<include refid="selectUsers"/></select> <include refid="selectUsers"/></select>
<select id="getUser" parameterType="map" resultMap="userRow">/* 사용자 계정 가져오기(userMapper.getUser) */ <select id="getUser" parameterType="map" resultMap="userRow">/* 사용자 계정 가져오기(userMapper.getUser) */
SELECT * SELECT USER_ID
, USER_ACNT
, USER_NM
, PASSWD
, PASSWD_HINT
, PASSWD_NSR
, EMP_NO
, RSDNT_NO
, GENDER
, BRDT
, TELNO
, MBL_TELNO
, FXNO
, ZIP
, ADDR
, DADDR
, AREA_NO
, EML_ADRS
, ORG_ID
, GRP_ID
, NSTT_CD
, DEPT_CD
, POS_NM
, CRTFC_DN
, LOCK_YN
, LOCK_CNT
, LOCK_DT
, REG_DT
, RGTR
, MDFCN_DT
, MDFR
, USE_YN
, STTS
FROM TB_USER FROM TB_USER
<where><if test="userID != null"> AND USER_ID = #{userID}</if> <where><if test="userID != null"> AND USER_ID = #{userID}</if>
<if test="account != null"> AND USER_ACNT = #{account}</if> <if test="account != null"> AND USER_ACNT = #{account}</if>

Loading…
Cancel
Save