From 1459127ea68303ead592bb366364291520467c02 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Thu, 3 Aug 2023 18:27:51 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=90=EB=8F=99=EC=B0=A8=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=EC=A0=95=EB=B3=B4=20=EC=A1=B0=ED=9A=8C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/mapper/lvis/vehicleInfo-mapper.xml | 16 ++++++++++++++++ .../lvis/service/VehicleInfoServiceTest.java | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml b/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml index eceb69c..a682c92 100644 --- a/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml +++ b/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml @@ -80,6 +80,14 @@ + + + + + + + + @@ -164,6 +172,14 @@ SELECT PRYE , FRST_REGIST_RQRCNO , VLNT_ERSR_PRVNTC_NTICE_DE , REGIST_INSTT_NM + , VIMS_PRPOS_SE_CODE + , VIMS_VHCTY_ASORT_CODE + , VIMS_VHCTY_TY_CODE + , VIMS_VHCTY_SE_CODE + , CBD_LT + , CBD_BT + , CBD_HG + , FRST_MXMM_LDG , PROCESS_IMPRTY_RESN_CODE , PROCESS_IMPRTY_RESN_DTLS FROM TB_CAR_BSC_MTTR diff --git a/src/test/java/cokr/xit/interfaces/lvis/service/VehicleInfoServiceTest.java b/src/test/java/cokr/xit/interfaces/lvis/service/VehicleInfoServiceTest.java index 0bfe040..8fb135d 100644 --- a/src/test/java/cokr/xit/interfaces/lvis/service/VehicleInfoServiceTest.java +++ b/src/test/java/cokr/xit/interfaces/lvis/service/VehicleInfoServiceTest.java @@ -159,7 +159,7 @@ public class VehicleInfoServiceTest extends TestSupport { basicInfo.setFrst_mxmm_ldg("10"); vehicleInfoMapper.insertBasicInfo(Map.of("info", basicInfo)); - testMapper.execDelete("DELETE FROM TB_CAR_BSC_MTTR"); + testMapper.execDelete("DELETE FROM TB_CAR_BSC_MTTR WHERE BSC_MTTR_ID = '" + basicInfo.getBsc_mttr_id() + "'"); } @Test