From f5e343f28915c508c105bc5c97f38b2a24f5d98d Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Thu, 18 May 2023 15:27:45 +0900 Subject: [PATCH] TBL_* -> TB_* --- pom.xml | 16 ++++++++++++++++ src/main/resources/sql/mapper/base/utility.xml | 4 +++- .../sql/mapper/lvis/vehicleInfo-mapper.xml | 4 ++-- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index e33a805..425c948 100644 --- a/pom.xml +++ b/pom.xml @@ -16,11 +16,13 @@ + cokr.xit.interfaces xit-lvis 0.0.1-SNAPSHOT + xit-lvis-rest @@ -33,4 +35,18 @@ + + + + maven-snapshot + http://xit.xit-nexus.com:8081/repository/maven-snapshots/ + + + + maven-release + http://xit.xit-nexus.com:8081/repository/maven-releases/ + + + + \ No newline at end of file diff --git a/src/main/resources/sql/mapper/base/utility.xml b/src/main/resources/sql/mapper/base/utility.xml index 6e39d6d..7748817 100644 --- a/src/main/resources/sql/mapper/base/utility.xml +++ b/src/main/resources/sql/mapper/base/utility.xml @@ -20,7 +20,9 @@ SELECT FOUND_ROWS() TOT_CNT -IFNULL(#{thisDay}, TO_CHAR(CURRENT_DATE, 'YYYYMMDD')) +DATE_FORMAT(CURRENT_TIMESTAMP(), '%Y%m%d%H%i%s') + +IFNULL(#{thisDay}, DATE_FORMAT(CURRENT_DATE, '%Y%m%d')) SELECTTHIS_DAY diff --git a/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml b/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml index 4792cce..8795fb2 100644 --- a/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml +++ b/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml @@ -3,7 +3,7 @@ /* vehicleInfoMapper.insertBasicInfo(자동차 기본사항 조회 로그 등록) */ -INSERT INTO TBL_BASIC_INFO_LOG ( +INSERT INTO TB_BASIC_INFO_LOG ( LOG_ID , PRYE , REGIST_DE @@ -93,7 +93,7 @@ INSERT INTO TBL_BASIC_INFO_LOG ( , CBD_HG , FRST_MXMM_LDG ) VALUES ( - TO_CHAR(CURRENT_TIMESTAMP(), 'YYMMDD-HH24MISS') + DATE_FORMAT(CURRENT_TIMESTAMP(), '%Y%m%d-%H%i%s') , #{prye} , #{regist_de} , #{ersr_regist_se_code}