From b6b8de19b31fc66a6158395fe7423b597bbabe9b Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Thu, 3 Aug 2023 17:11:59 +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=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=EB=93=B1=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/properties/xit-lvis.properties | 4 +- .../sql/mapper/lvis/vehicleInfo-mapper.xml | 393 +++++++++++++----- 2 files changed, 302 insertions(+), 95 deletions(-) diff --git a/src/main/resources/properties/xit-lvis.properties b/src/main/resources/properties/xit-lvis.properties index c065ffc..ce124c2 100644 --- a/src/main/resources/properties/xit-lvis.properties +++ b/src/main/resources/properties/xit-lvis.properties @@ -23,8 +23,8 @@ lvis.enc.key_group=1 #\uc554\ud638\ud654\ud0a4 \ubc88\ud638 lvis.enc.key_no=1 -#lvis \uc0ac\uc6a9 \uc11c\ube44\uc2a4 (production || test) -lvis.host.active=test +#lvis \uc0ac\uc6a9 \uc11c\ube44\uc2a4 (production || test || local) +lvis.host.active=local #lvis \uc6b4\uc601 \uc11c\ube44\uc2a4 \uc8fc\uc18c lvis.host.production=http://auto.car.go.kr:39700/lvis/services/WsFrontController #lvis \ud14c\uc2a4\ud2b8 \uc11c\ube44\uc2a4 \uc8fc\uc18c diff --git a/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml b/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml index 7c44628..e1c0b6e 100644 --- a/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml +++ b/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml @@ -1,10 +1,198 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /* vehicleInfoMapper.insertBasicInfo(자동차 기본사항 조회 로그 등록) */ -INSERT INTO TB_BASIC_INFO_LOG ( - LOG_ID + +SELECT CONCAT( + + , LPAD(IFNULL(SUBSTRING(MAX(BSC_MTTR_ID), 9) + 1, 1), 22, '0') + ) NEW_ID + FROM TB_CAR_BSC_MTTR TCBM + WHERE BSC_MTTR_ID LIKE CONCAT(, '%') +INSERT INTO TB_CAR_BSC_MTTR ( + BSC_MTTR_ID + , MESSAGEID + , MESSAGENAME + , MESSAGEREASON + , MESSAGEREMARK + , EXCEPTIONSTACKTRACE + + , DMND_LEVY_STDDE + , DMND_INQIRE_SE_CODE + , DMND_VHRNO + , DMND_VIN + , PRYE , REGIST_DE , ERSR_REGIST_SE_CODE @@ -82,8 +270,6 @@ INSERT INTO TB_BASIC_INFO_LOG ( , FRST_REGIST_RQRCNO , VLNT_ERSR_PRVNTC_NTICE_DE , REGIST_INSTT_NM - , PROCESS_IMPRTY_RESN_CODE - , PROCESS_IMPRTY_RESN_DTLS , VIMS_PRPOS_SE_CODE , VIMS_VHCTY_ASORT_CODE , VIMS_VHCTY_TY_CODE @@ -92,95 +278,116 @@ INSERT INTO TB_BASIC_INFO_LOG ( , CBD_BT , CBD_HG , FRST_MXMM_LDG + , PROCESS_IMPRTY_RESN_CODE + , PROCESS_IMPRTY_RESN_DTLS + + , REG_DT + , RGTR ) VALUES ( - - , #{prye} - , #{regist_de} - , #{ersr_regist_se_code} - , #{ersr_regist_se_nm} - , #{ersr_regist_de} - , #{regist_detail_code} - , #{dsplvl} - , #{use_strnghld_legaldong_code} - , #{use_strnghld_adstrd_code} - , #{use_strnghld_mntn} - , #{use_strnghld_lnbr} - , #{use_strnghld_ho} - , #{use_strnghld_adres_nm} - , #{use_strnghld_road_nm_code} - , #{usgsrhld_undgrnd_buld_se_code} - , #{use_strnghld_buld_main_no} - , #{use_strnghld_buld_sub_no} - , #{mber_se_code} - , #{mber_nm} - , #{mber_se_no} - , #{telno} - , #{owner_legaldong_code} - , #{owner_adstrd_code} - , #{owner_mntn} - , #{owner_lnbr} - , #{owner_ho} - , #{owner_adres_nm} - , #{owner_road_nm_code} - , #{owner_undgrnd_buld_se_code} - , #{owner_buld_main_no} - , #{owner_buld_sub_no} - , #{owner_adres_full} - , #{aftr_vhrno} - , #{use_fuel_code} - , #{prpos_se_code} - , #{mtrs_fom_nm} - , #{frnt_vhrno} - , #{vhrno} - , #{vin} - , #{cnm} - , #{vhcle_tot_wt} - , #{caag_endde} - , #{change_de} - , #{vhcty_asort_code} - , #{vhcty_ty_code} - , #{vhcty_se_code} - , #{mxmm_ldg} - , #{vhcty_asort_nm} - , #{vhcty_ty_nm} - , #{vhcty_se_nm} - , #{frst_regist_de} - , #{fom_nm} - , #{acqs_de} - , #{acqs_end_de} - , #{ybl_md} - , #{transr_regist_de} - , #{spcf_regist_sttus_code} - , #{color_nm} - , #{mrtg_co} - , #{seizr_co} - , #{stmd_co} - , #{nmpl_csdy_at} - , #{nmpl_csdy_remnr_de} - , #{origin_se_code} - , #{nmpl_stndrd_code} - , #{acqs_amount} - , #{inspt_valid_pd_bgnde} - , #{inspt_valid_pd_endde} - , #{chck_valid_pd_bgnde} - , #{chck_valid_pd_endde} - , #{use_strnghld_grc_code} - , #{tkcar_pscap_co} - , #{spmnno} - , #{trvl_dstnc} - , #{frst_regist_rqrcno} - , #{vlnt_ersr_prvntc_ntice_de} - , #{regist_instt_nm} - , #{process_imprty_resn_code} - , #{process_imprty_resn_dtls} - , #{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} + #{info.bsc_mttr_id} + , #{msg.messageId} + , #{msg.messageName} + , #{msg.messageReason} + , #{msg.messageRemark} + , #{msg.exceptionStackTrace} + + , #{req.levy_stdde} + , #{req.inqire_se_code} + , #{req.vhrno} + , #{req.vin} + + , #{info.prye} + , #{info.regist_de} + , #{info.ersr_regist_se_code} + , #{info.ersr_regist_se_nm} + , #{info.ersr_regist_de} + , #{info.regist_detail_code} + , #{info.dsplvl} + , #{info.use_strnghld_legaldong_code} + , #{info.use_strnghld_adstrd_code} + , #{info.use_strnghld_mntn} + , #{info.use_strnghld_lnbr} + , #{info.use_strnghld_ho} + , #{info.use_strnghld_adres_nm} + , #{info.use_strnghld_road_nm_code} + , #{info.usgsrhld_undgrnd_buld_se_code} + , #{info.use_strnghld_buld_main_no} + , #{info.use_strnghld_buld_sub_no} + , #{info.mber_se_code} + , #{info.mber_nm} + , #{info.mber_se_no} + , #{info.telno} + , #{info.owner_legaldong_code} + , #{info.owner_adstrd_code} + , #{info.owner_mntn} + , #{info.owner_lnbr} + , #{info.owner_ho} + , #{info.owner_adres_nm} + , #{info.owner_road_nm_code} + , #{info.owner_undgrnd_buld_se_code} + , #{info.owner_buld_main_no} + , #{info.owner_buld_sub_no} + , #{info.owner_adres_full} + , #{info.aftr_vhrno} + , #{info.use_fuel_code} + , #{info.prpos_se_code} + , #{info.mtrs_fom_nm} + , #{info.frnt_vhrno} + , #{info.vhrno} + , #{info.vin} + , #{info.cnm} + , #{info.vhcle_tot_wt} + , #{info.caag_endde} + , #{info.change_de} + , #{info.vhcty_asort_code} + , #{info.vhcty_ty_code} + , #{info.vhcty_se_code} + , #{info.mxmm_ldg} + , #{info.vhcty_asort_nm} + , #{info.vhcty_ty_nm} + , #{info.vhcty_se_nm} + , #{info.frst_regist_de} + , #{info.fom_nm} + , #{info.acqs_de} + , #{info.acqs_end_de} + , #{info.ybl_md} + , #{info.transr_regist_de} + , #{info.spcf_regist_sttus_code} + , #{info.color_nm} + , #{info.mrtg_co} + , #{info.seizr_co} + , #{info.stmd_co} + , #{info.nmpl_csdy_at} + , #{info.nmpl_csdy_remnr_de} + , #{info.origin_se_code} + , #{info.nmpl_stndrd_code} + , #{info.acqs_amount} + , #{info.inspt_valid_pd_bgnde} + , #{info.inspt_valid_pd_endde} + , #{info.chck_valid_pd_bgnde} + , #{info.chck_valid_pd_endde} + , #{info.use_strnghld_grc_code} + , #{info.tkcar_pscap_co} + , #{info.spmnno} + , #{info.trvl_dstnc} + , #{info.frst_regist_rqrcno} + , #{info.vlnt_ersr_prvntc_ntice_de} + , #{info.regist_instt_nm} + , #{info.process_imprty_resn_code} + , #{info.process_imprty_resn_dtls} + , #{info.vims_prpos_se_code} + , #{info.vims_vhcty_asort_code} + , #{info.vims_vhcty_ty_code} + , #{info.vims_vhcty_se_code} + , #{info.cbd_lt} + , #{info.cbd_bt} + , #{info.cbd_hg} + , #{info.frst_mxmm_ldg} + , #{info.process_imprty_resn_code} + , #{info.process_imprty_resn_dtls} + + , + , #{currentUser.id} ) \ No newline at end of file