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}