From 58b44691aff19528cede68e0b3dc78b635a4eb16 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Thu, 3 Aug 2023 18:30:08 +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 --- .../mapper/interfaces/vehicleInfo-mapper.xml | 405 ++++++++++++++---- 1 file changed, 313 insertions(+), 92 deletions(-) diff --git a/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml b/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml index 178be247..acdd4425 100644 --- a/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml +++ b/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml @@ -2,9 +2,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /* 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 +286,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 +294,114 @@ 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.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