diff --git a/src/main/resources/sql/mapper/base/utility.xml b/src/main/resources/sql/mapper/base/utility.xml index 7748817..5c14cfd 100644 --- a/src/main/resources/sql/mapper/base/utility.xml +++ b/src/main/resources/sql/mapper/base/utility.xml @@ -22,8 +22,13 @@ SELECT FOUND_ROWS() TOT_CNT DATE_FORMAT(CURRENT_TIMESTAMP(), '%Y%m%d%H%i%s') -IFNULL(#{thisDay}, DATE_FORMAT(CURRENT_DATE, '%Y%m%d')) +SELECTNOW -SELECTTHIS_DAY +DATE_FORMAT(CURRENT_DATE, '%Y%m%d') + +SELECTTODAY +IFNULL(#{thisDay},) + +SELECTTHIS_DAY \ No newline at end of file