From 5b069847d3363586c090c4e3a7aa1f4ff34f30e0 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 26 Jun 2024 14:35:45 +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=EC=95=84=EC=9D=B4=EB=94=94=20->=20=EC=8B=9C?= =?UTF-8?q?=ED=80=80=EC=8A=A4=20=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/mapper/base/syslog-mapper.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/resources/sql/mapper/base/syslog-mapper.xml b/src/main/resources/sql/mapper/base/syslog-mapper.xml index 9a2fb53..aae66ca 100644 --- a/src/main/resources/sql/mapper/base/syslog-mapper.xml +++ b/src/main/resources/sql/mapper/base/syslog-mapper.xml @@ -58,9 +58,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, '%') +select CONCAT(, LPAD(NEXTVAL(SQ_SYSLOG), 16, '0')) NEW_ID INSERT INTO TB_SYS_LOG ( LOG_ID , LOG_TYPE