diff --git a/src/main/resources/sql/mapper/epost/emailRequest-mapper.xml b/src/main/resources/sql/mapper/epost/emailRequest-mapper.xml index 1db40b6..f0d64db 100644 --- a/src/main/resources/sql/mapper/epost/emailRequest-mapper.xml +++ b/src/main/resources/sql/mapper/epost/emailRequest-mapper.xml @@ -183,7 +183,7 @@ SELECT CON_ORG - + @@ -250,7 +250,7 @@ SELECT CON_ORG , REG_VAR_DATA4 = #{emailRequest.regVarData4} , REG_VAR_DATA5 = #{emailRequest.regVarData5} - , POST_PRCS_STTS__CD = #{emailRequest.postProcStt} + , POST_PRCS_STTS_CD = #{emailRequest.postProcStt} , RCEPT_YMD = #{emailRequest.rceptYmd} , DEL_YN = #{emailRequest.delYn} , DEL_DT = #{emailRequest.removedAt} @@ -416,8 +416,8 @@ UPDATE TB_EPOST_RCPT_REG SET WHERE CON_KEY = #{emailRequest.conKey} /* 전자우편 신청 상태 변경(emailRequestMapper.updateRequestStatus) */ -UPDATE TB_EPOST_RCPT_REG - SET POST_PRCS_STTS_CD = #{status} +UPDATE TB_EPOST_RCPT_REG SET + POST_PRCS_STTS_CD = #{status} , RCEPT_YMD = CASE CON_KEY WHEN #{result.reletcdata} THEN #{result.rceptYmd} ELSE RCEPT_YMD END