From 92a78dd38ae0461a64dc1427f3e0c728954cc95a Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 3 Jul 2024 14:59:04 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8B=9C=EC=8A=A4=ED=85=9C=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=EB=93=B1=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/mapper/base/syslog-mapper.xml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/resources/sql/mapper/base/syslog-mapper.xml b/src/main/resources/sql/mapper/base/syslog-mapper.xml index 4b63eb1d..01aa7099 100644 --- a/src/main/resources/sql/mapper/base/syslog-mapper.xml +++ b/src/main/resources/sql/mapper/base/syslog-mapper.xml @@ -60,12 +60,7 @@ SELECT LOG_ID - -/* 시스템 로그 등록(loggingMapper.insertLog) */ - -SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(LOG_ID), 9) + 1, 1), 16, '0')) NEW_ID - FROM TB_SYS_LOG A, () B - WHERE LOG_ID LIKE CONCAT(TODAY, '%') +/* 시스템 로그 등록(loggingMapper.insertLog) */ INSERT INTO TB_SYS_LOG ( LOG_ID , LOG_TYPE @@ -80,7 +75,7 @@ INSERT INTO TB_SYS_LOG ( , IP_ADDR , REG_DT ) VALUES ( - #{id} + CONCAT(, LPAD(NEXTVAL(SQ_SYS_LOG), 16, '0')) , #{type} , #{url} , #{className}