From 0f19deda509788fa4a617e180135df9c41602dd6 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 16 Jan 2024 11:22:14 +0900 Subject: [PATCH] NUNBER -> NUMBER, PROC_STT -> PRCS_STTS_CD --- .../mapper/interfaces/emailRequest-mapper.xml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml b/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml index 8f555723..572f9990 100644 --- a/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml +++ b/src/main/resources/sql/mapper/interfaces/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_PROC_STT = #{emailRequest.postProcStt} + , POST_PRCS_STTS__CD = #{emailRequest.postProcStt} , RCEPT_YMD = #{emailRequest.rceptYmd} , DEL_YN = #{emailRequest.delYn} , DEL_DT = #{emailRequest.removedAt} @@ -417,7 +417,7 @@ UPDATE TB_EPOST_RCPT_REG SET /* 전자우편 신청 상태 변경(emailRequestMapper.updateRequestStatus) */ UPDATE TB_EPOST_RCPT_REG SET - POST_PROC_STT = #{status} + POST_PRCS_STTS__CD = #{status} , RCEPT_YMD = CASE CON_KEY WHEN #{result.reletcdata} THEN #{result.rceptYmd} ELSE RCEPT_YMD END @@ -428,12 +428,12 @@ UPDATE TB_EPOST_RCPT_REG SET #{result.conKey} #{result.reletcdata} ) - AND POST_PROC_STT < #{maxStatus} + AND POST_PRCS_STTS__CD < #{maxStatus} /* 전자우편 배달 완료 처리(emailRequestMapper.updateRequestAsDelivered) */ UPDATE TB_EPOST_RCPT_REG SET - POST_PROC_STT = #{status} - WHERE POST_PROC_STT = '27' + POST_PRCS_STTS__CD = #{status} + WHERE POST_PRCS_STTS__CD = '27' AND DEL_YN = 'N' AND REG_DT < CONCAT(DATE_FORMAT(DATE_SUB(CURRENT_DATE, INTERVAL #{expiryDays} DAY), '%Y%m%d'), '000000') @@ -451,7 +451,7 @@ UPDATE TB_EPOST_RCPT_REG SET - + @@ -521,7 +521,7 @@ UPDATE TB_EPOST_RCPT_REG SET , RECEV_CODE , RECEV_BAR1D , RECEV_BAR2D - , RECEV_BILL_NUNBER + , RECEV_BILL_NUMBER , RECEV_DOC_CD1 , RECEV_DOC_CD2 , RECEV_DOC_CD3 @@ -611,7 +611,7 @@ INSERT INTO TB_EPOST_RCPT_DTL ( , RECEV_CODE , RECEV_BAR1D , RECEV_BAR2D - , RECEV_BILL_NUNBER + , RECEV_BILL_NUMBER , RECEV_DOC_CD1 , RECEV_DOC_CD2 , RECEV_DOC_CD3 @@ -750,7 +750,7 @@ UPDATE TB_EPOST_RCPT_DTL SET , RECEV_CODE = #{emailRequestDetail.recevCode} , RECEV_BAR1D = #{emailRequestDetail.recevBar1d} , RECEV_BAR2D = #{emailRequestDetail.recevBar2d} - , RECEV_BILL_NUNBER = #{emailRequestDetail.recevBillNunber} + , RECEV_BILL_NUMBER = #{emailRequestDetail.recevBillNunber} , RECEV_DOC_CD1 = #{emailRequestDetail.recevDocCd1} , RECEV_DOC_CD2 = #{emailRequestDetail.recevDocCd2} , RECEV_DOC_CD3 = #{emailRequestDetail.recevDocCd3}