From 1a60f23e1d5b6e075f28b977bd5ec12a72123828 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 14 Nov 2023 14:07:33 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A4=EC=A0=95=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 2 +- src/main/resources/intf-conf/public-info.conf | 4 +- .../resources/intf-conf/xit-lvis.properties | 36 +- .../resources/intf-conf/xit-lvis2.properties | 34 -- .../sql/mapper/lvis/vehicleInfo-mapper.xml | 442 +++++++++++++++++- 5 files changed, 459 insertions(+), 59 deletions(-) delete mode 100644 src/main/resources/intf-conf/xit-lvis2.properties diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7c95c41..87600bb 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,5 +1,5 @@ server: - port: 18080 + port: 17979 servlet: context-path: / diff --git a/src/main/resources/intf-conf/public-info.conf b/src/main/resources/intf-conf/public-info.conf index 7f2c663..2a4152b 100644 --- a/src/main/resources/intf-conf/public-info.conf +++ b/src/main/resources/intf-conf/public-info.conf @@ -1,8 +1,8 @@ { "basic-info-ext": { /* 서비스 api 이름 */ "apiKey": "59f26bf09ed196bfbd98210388c4c6ea9dd0f77bde3f35526f082647a305325b", /* 행정정보 공동이용 서비스가 발급한 api key */ - /*"apiUrl": "http://10.188.225.25:29001/piss/api/molit/SignguCarBassMatterInqireService", /* 미래행공 운영 호출 URL (행정망) */ - "apiUrl": "http://10.188.225.94:29001/piss/api/molit/SignguCarBassMatterInqireService", /* 미래행공 개발 호출 URL (행정망) */ + "apiUrl": "http://10.188.225.25:29001/piss/api/molit/SignguCarBassMatterInqireService", /* 미래행공 운영 호출 URL (행정망) */ + /*"apiUrl": "http://10.188.225.94:29001/piss/api/molit/SignguCarBassMatterInqireService", /* 미래행공 개발 호출 URL (행정망) */ "userServerId": "SVR4050545002", /* 이용기관 gpki server id */ "providerServerId": "SVR1500000015", /* 보유기관 gpki server id */ diff --git a/src/main/resources/intf-conf/xit-lvis.properties b/src/main/resources/intf-conf/xit-lvis.properties index 38d525b..bf0cd29 100644 --- a/src/main/resources/intf-conf/xit-lvis.properties +++ b/src/main/resources/intf-conf/xit-lvis.properties @@ -1,34 +1,34 @@ -#시군구코드(필수) +#\uc2dc\uad70\uad6c\ucf54\ub4dc(\ud544\uc218) lvis.sigungu.code=41460 -#담당자 주민등록번호 +#\ub2f4\ub2f9\uc790 \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 lvis.charger.ihinum= -#담당자 IP 어드레스 +#\ub2f4\ub2f9\uc790 IP \uc5b4\ub4dc\ub808\uc2a4 lvis.charger.ip_adres= -#담당자명 -lvis.charger.nm=이광진 -#담당자 연락처 +#\ub2f4\ub2f9\uc790\uba85 +lvis.charger.nm=\uc774\uad11\uc9c4 +#\ub2f4\ub2f9\uc790 \uc5f0\ub77d\ucc98 lvis.charger.wrc_telno=032-440-3963 -#정보시스템 ID(필수) +#\uc815\ubcf4\uc2dc\uc2a4\ud15c ID(\ud544\uc218) lvis.info_sys.id=41-404 -#정보시스템 IP(필수) +#\uc815\ubcf4\uc2dc\uc2a4\ud15c IP(\ud544\uc218) lvis.info_sys.ip=105.19.10.99 -#정보시스템 MAC 어드레스 +#\uc815\ubcf4\uc2dc\uc2a4\ud15c MAC \uc5b4\ub4dc\ub808\uc2a4 lvis.info_sys.macaddress=EC:EB:B8:97:F2:14 -#암호화키 +#\uc554\ud638\ud654\ud0a4 lvis.enc.key=0BCE7F19897CEA91 -#암호화키 그룹 +#\uc554\ud638\ud654\ud0a4 \uadf8\ub8f9 lvis.enc.key_group=1 -#암호화키 번호 +#\uc554\ud638\ud654\ud0a4 \ubc88\ud638 lvis.enc.key_no=1 -#lvis 사용 서비스 (production || test || local) -lvis.host.active=local -#lvis 운영 서비스 주소 +#lvis \uc0ac\uc6a9 \uc11c\ube44\uc2a4 (production || test || local) +lvis.host.active=production +#lvis \uc6b4\uc601 \uc11c\ube44\uc2a4 \uc8fc\uc18c lvis.host.production=http://auto.car.go.kr:39700/lvis/services/WsFrontController -#lvis 테스트 서비스 주소 +#lvis \ud14c\uc2a4\ud2b8 \uc11c\ube44\uc2a4 \uc8fc\uc18c lvis.host.test=http://10.98.198.199:9700/lvis/services/WsFrontController -#자동차 기본사항 조회 로그 저장 여부(true || false) -lvis.log.basicInfo=true \ No newline at end of file +#\uc790\ub3d9\ucc28 \uae30\ubcf8\uc0ac\ud56d \uc870\ud68c \ub85c\uadf8 \uc800\uc7a5 \uc5ec\ubd80(true || false) +lvis.log.basicInfo=false \ No newline at end of file diff --git a/src/main/resources/intf-conf/xit-lvis2.properties b/src/main/resources/intf-conf/xit-lvis2.properties deleted file mode 100644 index 8e53f68..0000000 --- a/src/main/resources/intf-conf/xit-lvis2.properties +++ /dev/null @@ -1,34 +0,0 @@ -#시군구코드(필수) -lvis.sigungu.code=28000 -#담당자 주민등록번호 -lvis.charger.ihinum= -#담당자 IP 어드레스 -lvis.charger.ip_adres= -#담당자명 -lvis.charger.nm=이광진 -#담당자 연락처 -lvis.charger.wrc_telno=032-440-3963 - -#정보시스템 ID(필수) -lvis.info_sys.id=28-230 -#정보시스템 IP(필수) -lvis.info_sys.ip=101.0.115.13 -#정보시스템 MAC 어드레스 -lvis.info_sys.macaddress=EC:EB:B8:97:F2:14 - -#암호화키 -lvis.enc.key=0BCE7F19897CEA91 -#암호화키 그룹 -lvis.enc.key_group=1 -#암호화키 번호 -lvis.enc.key_no=1 - -#lvis 사용 서비스 (production || test || local) -lvis.host.active=local -#lvis 운영 서비스 주소 -lvis.host.production=http://auto.car.go.kr:39700/lvis/services/WsFrontController -#lvis 테스트 서비스 주소 -lvis.host.test=http://10.98.198.199:9700/lvis/services/WsFrontController - -#자동차 기본사항 조회 로그 저장 여부(true || false) -lvis.log.basicInfo=true \ No newline at end of file diff --git a/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml b/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml index acdd442..5ccdc5d 100644 --- a/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml +++ b/src/main/resources/sql/mapper/lvis/vehicleInfo-mapper.xml @@ -182,11 +182,27 @@ SELECT PRYE , FRST_MXMM_LDG , PROCESS_IMPRTY_RESN_CODE , PROCESS_IMPRTY_RESN_DTLS - FROM TB_CAR_BSC_MTTR + FROM TB_CAR_BSC_MTTR + WHERE CNTC_INFO_CODE = 'A01' AND MBER_SE_NO = #{owner_mber_no} - AND VIN = #{vin} - AND VHRNO = #{vhrno} - + AND DMND_VIN = #{vin} + AND DMND_VHRNO = #{vhrno} + + + /* vehicleInfoMapper.insertBasicInfo(자동차 기본사항 조회 로그 등록) */ @@ -203,6 +219,7 @@ INSERT INTO TB_CAR_BSC_MTTR ( , MESSAGEREASON , MESSAGEREMARK , EXCEPTIONSTACKTRACE + , CNTC_INFO_CODE , DMND_LEVY_STDDE , DMND_INQIRE_SE_CODE @@ -306,6 +323,420 @@ INSERT INTO TB_CAR_BSC_MTTR ( , #{msg.messageReason} , #{msg.messageRemark} , #{msg.exceptionStackTrace} + , 'A01' + + , #{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} +) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/* vehicleInfoMapper.insertExtInfo(자동차 연료제원 포함 기본사항 조회 로그 등록) */ + +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 + , CNTC_INFO_CODE + + , DMND_LEVY_STDDE + , DMND_INQIRE_SE_CODE + , DMND_VHRNO + , DMND_VIN + + , 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 + , USGSRHLD_ADRES_FULL + , 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 + , 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 + , FUEL_CNSMP_RT + , ELCTY_CMPND_FUEL_CNSMP_RT + , PROCESS_IMPRTY_RESN_CODE + , PROCESS_IMPRTY_RESN_DTLS + + , REG_DT + , RGTR +) VALUES ( + #{info.bsc_mttr_id} + , #{resp.cntc_result_code} + , #{resp.cntc_result_dtls} + , NULL + , NULL + , NULL + , 'AC1_AW0_76' , #{req.levy_stdde} , #{req.inqire_se_code} @@ -329,6 +760,7 @@ INSERT INTO TB_CAR_BSC_MTTR ( , #{info.usgsrhld_undgrnd_buld_se_code} , #{info.use_strnghld_buld_main_no} , #{info.use_strnghld_buld_sub_no} + , #{info.usgsrhld_adres_full} , #{info.mber_se_code} , #{info.mber_nm} , #{info.mber_se_no} @@ -397,6 +829,8 @@ INSERT INTO TB_CAR_BSC_MTTR ( , #{info.cbd_bt} , #{info.cbd_hg} , #{info.frst_mxmm_ldg} + , #{info.fuel_cnsmp_rt} + , #{info.elcty_cmpnd_fuel_cnsmp_rt} , #{info.process_imprty_resn_code} , #{info.process_imprty_resn_dtls}