아이디/비밀번호 찾기 수정(1)
This commit is contained in:
@@ -1607,7 +1607,12 @@
|
||||
WHERE 1 = 1
|
||||
AND MBR_NM = #{mbrNm}
|
||||
AND MBR_ID = #{mbrId}
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(email)">
|
||||
AND EMAIL = HEX(AES_ENCRYPT(#{email}, #{secretKey}))
|
||||
</if>
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(mbtlnb)">
|
||||
AND MBTLNB = HEX(AES_ENCRYPT(#{mbtlnb}, #{secretKey}))
|
||||
</if>
|
||||
AND MBR_DV_CD = #{mbrDvCd}
|
||||
</select>
|
||||
|
||||
@@ -1669,7 +1674,12 @@
|
||||
AND GM.USE_AT = 'Y'
|
||||
AND GM.MBR_DV_CD = #{mbrDvCd}
|
||||
AND GM.MBR_NM = #{mbrNm}
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(email)">
|
||||
AND GM.EMAIL = HEX(AES_ENCRYPT(#{email}, #{secretKey}))
|
||||
</if>
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(mbtlnb)">
|
||||
AND GM.MBTLNB = HEX(AES_ENCRYPT(#{mbtlnb}, #{secretKey}))
|
||||
</if>
|
||||
) TGT
|
||||
WHERE 1 = 1
|
||||
AND RK = 1
|
||||
@@ -2028,6 +2038,41 @@
|
||||
AND CRTNB = #{crtnb}
|
||||
</select>
|
||||
|
||||
<!-- 이메일 인증번호 생성 -->
|
||||
<insert id="insertBOEmailAuth"
|
||||
parameterType="com.wb.domainserver.domain.gcone.mbr.mbr.vo.BOMbrVO"
|
||||
useGeneratedKeys="true"
|
||||
keyProperty="sndngInnb">
|
||||
INSERT
|
||||
INTO GC_CRTNB (
|
||||
EMAIL,
|
||||
CRTNB,
|
||||
REGUSR,
|
||||
REGIST_DT
|
||||
)
|
||||
VALUES (
|
||||
#{email},
|
||||
#{crtnb},
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(mbrInnb)">
|
||||
#{mbrInnb},
|
||||
</if>
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isEmpty(mbrInnb)">
|
||||
'0',
|
||||
</if>
|
||||
SYSDATE()
|
||||
)
|
||||
</insert>
|
||||
|
||||
<!-- 이메일 인증 -->
|
||||
<select id="selectBOEmailAuth"
|
||||
parameterType="com.wb.domainserver.domain.gcone.mbr.mbr.vo.BOMbrVO" resultType="Integer">
|
||||
SELECT COUNT(1)
|
||||
FROM GC_CRTNB
|
||||
WHERE 1 = 1
|
||||
AND EMAIL = #{email}
|
||||
AND CRTNB = #{crtnb}
|
||||
</select>
|
||||
|
||||
<!-- 회원별 등급매핑 -->
|
||||
<insert id="insertBOMbrGradMapping"
|
||||
parameterType="com.wb.domainserver.domain.gcone.mbr.mbr.vo.BOMbrVO">
|
||||
|
||||
Reference in New Issue
Block a user