From 7f057b5298d98b2a5daa77a1bd8e08ce1d11e708 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 22 Dec 2023 18:03:22 +0900 Subject: [PATCH] =?UTF-8?q?databaseIdProvider=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/mapper/base/utility.xml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/main/resources/sql/mapper/base/utility.xml b/src/main/resources/sql/mapper/base/utility.xml index c927282..7f335db 100644 --- a/src/main/resources/sql/mapper/base/utility.xml +++ b/src/main/resources/sql/mapper/base/utility.xml @@ -20,19 +20,14 @@ SELECT FOUND_ROWS() TOT_CNT - -DATE_FORMAT(CURRENT_TIMESTAMP, '%Y%m%d%H%i%s') - -DATE_FORMAT(CURRENT_DATE, '%Y%m%d') - - +DATE_FORMAT(CURRENT_TIMESTAMP, '%Y%m%d%H%i%s') +TO_CHAR(CURRENT_TIMESTAMP, 'YYYYMMDDHH24MISS') SELECTNOW FROM DUAL +DATE_FORMAT(CURRENT_DATE, '%Y%m%d') +TO_CHAR(CURRENT_DATE, 'YYYYMMDD') + SELECTTODAY FROM DUAL NVL(#{thisDay},)