TBL_* -> TB_*

master
mjkhan21 2 years ago
parent c374b889e2
commit 955c7a249e

@ -105,4 +105,18 @@
</dependency>
</dependencies>
<!-- Nexus deploy -->
<distributionManagement>
<snapshotRepository>
<id>maven-snapshot</id>
<url>http://xit.xit-nexus.com:8081/repository/maven-snapshots/</url>
</snapshotRepository>
<repository>
<id>maven-release</id>
<url>http://xit.xit-nexus.com:8081/repository/maven-releases/</url>
</repository>
</distributionManagement>
<!-- Nexus deploy -->
</project>

@ -20,7 +20,9 @@ SELECT FOUND_ROWS() TOT_CNT</select>
<sql id="orderBy"><if test="fetchSize == null or fetchSize &lt; 1"><include refid="utility.sortBy" /></if></sql>
<sql id="thisDay">IFNULL(#{thisDay}, TO_CHAR(CURRENT_DATE, 'YYYYMMDD'))</sql>
<sql id="now">DATE_FORMAT(CURRENT_TIMESTAMP(), '%Y%m%d%H%i%s')</sql>
<sql id="thisDay">IFNULL(#{thisDay}, DATE_FORMAT(CURRENT_DATE, '%Y%m%d'))</sql>
<sql id="selectThisDay">SELECT<include refid="utility.thisDay" />THIS_DAY</sql>

@ -3,7 +3,7 @@
<mapper namespace="cokr.xit.interfaces.lvis.dao.VehicleInfoMapper">
<insert id="insertBasicInfo" parameterType="map">/* 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} <!-- 말소등록구분코드 -->

@ -1,4 +1,4 @@
CREATE TABLE TBL_BASIC_INFO_LOG (
CREATE TABLE TB_BASIC_INFO_LOG (
LOG_ID VARCHAR(15) NOT NULL COMMENT '로그 아이디',
PRYE VARCHAR(4) COMMENT '연식',
REGIST_DE VARCHAR(8) COMMENT '등록일(변경일)',

@ -136,7 +136,7 @@ public class VehicleInfoServiceTest extends TestSupport {
basicInfo.setFrst_mxmm_ldg("10");
vehicleInfoMapper.insertBasicInfo(basicInfo);
testDao.execDelete("DELETE FROM TBL_BASIC_INFO_LOG");
testDao.execDelete("DELETE FROM TB_BASIC_INFO_LOG");
}
@Test

Loading…
Cancel
Save