From f5560b71c90ef2914c1c39252ff503dc31d2c358 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 3 Sep 2024 15:44:26 +0900 Subject: [PATCH] =?UTF-8?q?selectKey=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/sql/mapper/epost/emailResult-mapper.xml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/resources/sql/mapper/epost/emailResult-mapper.xml b/src/main/resources/sql/mapper/epost/emailResult-mapper.xml index c615dab..7c6fcb1 100644 --- a/src/main/resources/sql/mapper/epost/emailResult-mapper.xml +++ b/src/main/resources/sql/mapper/epost/emailResult-mapper.xml @@ -10,8 +10,7 @@ /* 전자우편 신청 수신 결과 등록(emailResultMapper.insertReceptionResult) */ SELECT NVL(MAX(RCPTN_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID - FROM TB_EPOST_RCPTN_RSLT A, () B - WHERE RCPTN_RSLT_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_EPOST_RCPTN_RSLT A ON RCPTN_RSLT_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_EPOST_RCPTN_RSLT ( RCPTN_RSLT_ID , OUTSIDUSERID @@ -54,8 +53,7 @@ SELECT #{rcptnRsltId} /* 전자우편 신청 접수 결과 등록(emailResultMapper.insertRegistrationResult) */ SELECT NVL(MAX(RCPT_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID - FROM TB_EPOST_RCPT_RSLT A, () B - WHERE RCPT_RSLT_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_EPOST_RCPT_RSLT A ON RCPT_RSLT_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_EPOST_RCPT_RSLT ( RCPT_RSLT_ID , CON_ORG @@ -130,8 +128,7 @@ SELECT #{conKey} /* 전자우편 배달 결과 등록(emailResultMapper.insertDeliveryResult) */ SELECT NVL(MAX(DLVR_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID - FROM TB_EPOST_DLVR_RSLT A, () B - WHERE DLVR_RSLT_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_EPOST_DLVR_RSLT A ON DLVR_RSLT_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_EPOST_DLVR_RSLT ( DLVR_RSLT_ID , CON_KEY