diff --git a/pom.xml b/pom.xml index ffa7faff..4d3f6447 100644 --- a/pom.xml +++ b/pom.xml @@ -34,6 +34,23 @@ xit-base-starter 23.04.01-SNAPSHOT + + + cokr.xit.interfaces + xit-lvis + 0.0.1-SNAPSHOT + + + cokr.xit.interfaces + xit-smg + 23.04.01-SNAPSHOT + + + cokr.xit.interfaces + xit-epost + 23.04.01-SNAPSHOT + + org.mariadb.jdbc mariadb-java-client diff --git a/src/main/java/cokr/xit/fims/FimsApplication.java b/src/main/java/cokr/xit/fims/FimsApplication.java index c40490a3..76fc4ada 100644 --- a/src/main/java/cokr/xit/fims/FimsApplication.java +++ b/src/main/java/cokr/xit/fims/FimsApplication.java @@ -1,12 +1,14 @@ package cokr.xit.fims; import org.springframework.boot.SpringApplication; + import cokr.xit.base.boot.XitBaseApplication; +//@ImportResource("classpath:spring/context-*.xml") public class FimsApplication extends XitBaseApplication { public static void main(String[] args) { SpringApplication.run(FimsApplication.class, args); } - -} + +} \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 6bc8059e..14357d1f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -38,9 +38,6 @@ propertyService: - tempDir: C:\temp - pageUnit: 10 - pageSize: 10 -# extFileName: -# - encoding: UTF-8 -# filename: classpath*:properties/your-file-01.properties -# - encoding: UTF-8 -# filename: classpath*:properties/your-file-02.properties - + extFileName: + - encoding: UTF-8 + filename: classpath*:intf-conf/xit-lvis.properties diff --git a/src/main/resources/intf-conf/file-job.conf b/src/main/resources/intf-conf/file-job.conf new file mode 100644 index 00000000..74d978c2 --- /dev/null +++ b/src/main/resources/intf-conf/file-job.conf @@ -0,0 +1,54 @@ +{ + "dirs": { + "receive": "C:\\workspace\\ESB_AGENT\\RCV", /* 수신 파일 최상위 디렉토리 */ + "send": "C:\\workspace\\ESB_AGENT\\SND", /* 전송 파일 최상위 디렉토리 */ + + "working": "C:\\workspace\\xit\\filesite\\work", /* 파일 작업 최상위 디렉토리 */ + "success": "C:\\workspace\\xit\\filesite\\success", /* 작업 완료한 파일의 최상위 디렉토리 */ + "fail": "C:\\workspace\\xit\\filesite\\fail" /* 작업 실패한 파일의 최상위 디렉토리 */ + }, + + "dirCodes": { + "smg": "CG131000000768", /* 국민신문고 기관코드 */ + "epost": "CG144523401150" /* epost 기관코드 */ + }, + + "defaults": { + "charset": "euc-kr", + "fetchSize": 100, + "workSize": 100 + }, + + "jobs": [ + { /* 국민신문고 수신 */ + "name": "smg-receive", + "dirCode": "smg", /* <-- dirCodes */ + "infoType": "010", + "alert": "http://localhost:8080/fims/api/smg/petition/receive.do" /* 업무 통보 url */ + }, + { /* 국민신문고 전송 */ + "name": "smg-send", + "dirCode": "smg", /* <-- dirCodes */ + "alert": "http://localhost:8080/fims/api/smg/petition/reply.do" /* 업무 통보 url */ + }, + + { /* epost 전자우편 신청 전송 */ + "name": "epost-send-request", + "dirCode": "epost", /* <-- dirCodes */ + + "conOrg": "YICT", /* 외부기관 구분코드 */ + "rceptId": "40219", /* 접수우체국 국기호 */ + "expiryDays": 10, /* 배달 만료 일수 */ + + "attachmentDir": "C:\\workspace\\xit\\filesite\\attachment\\epost", /* 원본 첨부파일 디렉토리 경로 */ + "txtFilename": "POSDF5$send_{yyyyMMddHHmmssSSS}.txt", + "zipFilename": "POSDF5${conKey}.zip" + }, + + { /* epost 전자우편 신청 수신 결과 */ + "name": "epost-receive-result", + "dirCode": "epost", /* <-- dirCodes */ + "alert": "http://localhost:8080/fims/api/epost/result/receive.do" /* 업무 통보 url */ + } + ] +} \ No newline at end of file diff --git a/src/main/resources/intf-conf/xit-lvis.properties b/src/main/resources/intf-conf/xit-lvis.properties new file mode 100644 index 00000000..3e6ae533 --- /dev/null +++ b/src/main/resources/intf-conf/xit-lvis.properties @@ -0,0 +1,34 @@ +#\uc2dc\uad70\uad6c\ucf54\ub4dc(\ud544\uc218) +lvis.sigungu.code=28000 +#\ub2f4\ub2f9\uc790 \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 +lvis.charger.ihinum= +#\ub2f4\ub2f9\uc790 IP \uc5b4\ub4dc\ub808\uc2a4 +lvis.charger.ip_adres= +#\ub2f4\ub2f9\uc790\uba85 +lvis.charger.nm=\uc774\uad11\uc9c4 +#\ub2f4\ub2f9\uc790 \uc5f0\ub77d\ucc98 +lvis.charger.wrc_telno=032-440-3963 + +#\uc815\ubcf4\uc2dc\uc2a4\ud15c ID(\ud544\uc218) +lvis.info_sys.id=28-230 +#\uc815\ubcf4\uc2dc\uc2a4\ud15c IP(\ud544\uc218) +lvis.info_sys.ip=101.0.115.13 +#\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 \uc0ac\uc6a9 \uc11c\ube44\uc2a4 (production || test) +lvis.host.active=test +#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 +lvis.host.test=http://10.98.198.199:9700/lvis/services/WsFrontController + +#\uc790\ub3d9\ucc28 \uae30\ubcf8\uc0ac\ud56d \uc870\ud68c \ub85c\uadf8 \uc800\uc7a5 \uc5ec\ubd80(true || false) +lvis.log.basicInfo=true \ No newline at end of file diff --git a/src/main/resources/spring/context-scheduler.xml b/src/main/resources/spring/context-scheduler.xml new file mode 100644 index 00000000..957d39da --- /dev/null +++ b/src/main/resources/spring/context-scheduler.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml b/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml new file mode 100644 index 00000000..2e71394c --- /dev/null +++ b/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml @@ -0,0 +1,835 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +SELECT CON_KEY + , RCEPT_ID + , DATA_CD + , DIV_KB + , DFPAYYN + , RCPT_KB + , SEAL_CD + , WORD_KB + , MAIL_CNT + , RECEV_CNT + , ENV_CD + , COLOR_YN + , MM_YN + , FLEX_CD + , DM_CNT + , SB_FG + , APVL_NB + , SEND_DATE + , SEND_TIME + , RELORSECT_CD + , RECEV_SENDER_ORG_CODE + , RECEV_SENDER_NM + , RECEV_SENDER_ZIPCODE + , RECEV_SENDER_ADDR + , RECEV_SENDER_DETAILADDR + , RECEV_SENDER_DEPART_TEL + , RECEV_SENDER_DEPART_NM + , RECEV_DIV_CD + , RECEV_PRINT_DT + , RECEV_PRINT_YEAR + , RECEV_PRINT_MONTH + , RECEV_PRINT_DAY + , RECEV_SENDER_FAX + , RECEV_SERDER_STAFF + , RECEV_SENDER_EMAIL + , SNDNG_ID + , JOB_CD + , REG_VAR_DATA1 + , REG_VAR_DATA2 + , REG_VAR_DATA3 + , REG_VAR_DATA4 + , REG_VAR_DATA5 + , POST_PROC_STT + , RCEPT_YMD + , DEL_YN + , REG_DT + , RGTR + , DEL_DT + , DLTR + FROM TB_EPOST_RCPT_REG + + + + + +/* 전자우편 신청 등록(emailRequestMapper.insertRequest) */ +INSERT INTO TB_EPOST_RCPT_REG ( + CON_KEY + , RCEPT_ID + , DATA_CD + , DIV_KB + , DFPAYYN + , RCPT_KB + , SEAL_CD + , WORD_KB + , MAIL_CNT + , RECEV_CNT + , ENV_CD + , COLOR_YN + , MM_YN + , FLEX_CD + , DM_CNT + , SB_FG + , APVL_NB + , SEND_DATE + , SEND_TIME + , RELORSECT_CD + , RECEV_SENDER_ORG_CODE + , RECEV_SENDER_NM + , RECEV_SENDER_ZIPCODE + , RECEV_SENDER_ADDR + , RECEV_SENDER_DETAILADDR + , RECEV_SENDER_DEPART_TEL + , RECEV_SENDER_DEPART_NM + , RECEV_DIV_CD + , RECEV_PRINT_DT + , RECEV_PRINT_YEAR + , RECEV_PRINT_MONTH + , RECEV_PRINT_DAY + , RECEV_SENDER_FAX + , RECEV_SERDER_STAFF + , RECEV_SENDER_EMAIL + , SNDNG_ID + , JOB_CD + , REG_VAR_DATA1 + , REG_VAR_DATA2 + , REG_VAR_DATA3 + , REG_VAR_DATA4 + , REG_VAR_DATA5 + , POST_PROC_STT + , RCEPT_YMD + , DEL_YN + , REG_DT + , RGTR + , DEL_DT + , DLTR +) VALUES ( + #{emailRequest.conKey} + , #{emailRequest.rceptId} + , #{emailRequest.dataCd} + , #{emailRequest.divKb} + , #{emailRequest.dfpayyn} + , #{emailRequest.rcptKb} + , #{emailRequest.sealCd} + , #{emailRequest.wordKb} + , #{emailRequest.mailCnt} + , #{emailRequest.recevCnt} + , #{emailRequest.envCd} + , #{emailRequest.colorYn} + , #{emailRequest.mmYn} + , #{emailRequest.flexCd} + , #{emailRequest.dmCnt} + , #{emailRequest.sbFg} + , #{emailRequest.apvlNb} + , #{emailRequest.sendDate} + , #{emailRequest.sendTime} + , #{emailRequest.relorsectCd} + , #{emailRequest.recevSenderOrgCode} + , #{emailRequest.recevSenderNm} + , #{emailRequest.recevSenderZipcode} + , #{emailRequest.recevSenderAddr} + , #{emailRequest.recevSenderDetailaddr} + , #{emailRequest.recevSenderDepartTel} + , #{emailRequest.recevSenderDepartNm} + , #{emailRequest.recevDivCd} + , #{emailRequest.recevPrintDt} + , #{emailRequest.recevPrintYear} + , #{emailRequest.recevPrintMonth} + , #{emailRequest.recevPrintDay} + , #{emailRequest.recevSenderFax} + , #{emailRequest.recevSerderStaff} + , #{emailRequest.recevSenderEmail} + , #{emailRequest.sndngId} + , #{emailRequest.jobCd} + , #{emailRequest.regVarData1} + , #{emailRequest.regVarData2} + , #{emailRequest.regVarData3} + , #{emailRequest.regVarData4} + , #{emailRequest.regVarData5} + , #{emailRequest.postProcStt} + , #{emailRequest.rceptYmd} + , #{emailRequest.delYn} + , + , #{currentUser.id} + , #{emailRequest.removedAt} + , #{emailRequest.removedBy} +) + +/* 전자우편 신청 수정(emailRequestMapper.updateRequest) */ +UPDATE TB_EPOST_RCPT_REG SET + RCEPT_ID = #{emailRequest.rceptId} + , DATA_CD = #{emailRequest.dataCd} + , DIV_KB = #{emailRequest.divKb} + , DFPAYYN = #{emailRequest.dfpayyn} + , RCPT_KB = #{emailRequest.rcptKb} + , SEAL_CD = #{emailRequest.sealCd} + , WORD_KB = #{emailRequest.wordKb} + , MAIL_CNT = #{emailRequest.mailCnt} + , RECEV_CNT = #{emailRequest.recevCnt} + , ENV_CD = #{emailRequest.envCd} + , COLOR_YN = #{emailRequest.colorYn} + , MM_YN = #{emailRequest.mmYn} + , FLEX_CD = #{emailRequest.flexCd} + , DM_CNT = #{emailRequest.dmCnt} + , SB_FG = #{emailRequest.sbFg} + , APVL_NB = #{emailRequest.apvlNb} + , SEND_DATE = #{emailRequest.sendDate} + , SEND_TIME = #{emailRequest.sendTime} + , RELORSECT_CD = #{emailRequest.relorsectCd} + , RECEV_SENDER_ORG_CODE = #{emailRequest.recevSenderOrgCode} + , RECEV_SENDER_NM = #{emailRequest.recevSenderNm} + , RECEV_SENDER_ZIPCODE = #{emailRequest.recevSenderZipcode} + , RECEV_SENDER_ADDR = #{emailRequest.recevSenderAddr} + , RECEV_SENDER_DETAILADDR = #{emailRequest.recevSenderDetailaddr} + , RECEV_SENDER_DEPART_TEL = #{emailRequest.recevSenderDepartTel} + , RECEV_SENDER_DEPART_NM = #{emailRequest.recevSenderDepartNm} + , RECEV_DIV_CD = #{emailRequest.recevDivCd} + , RECEV_PRINT_DT = #{emailRequest.recevPrintDt} + , RECEV_PRINT_YEAR = #{emailRequest.recevPrintYear} + , RECEV_PRINT_MONTH = #{emailRequest.recevPrintMonth} + , RECEV_PRINT_DAY = #{emailRequest.recevPrintDay} + , RECEV_SENDER_FAX = #{emailRequest.recevSenderFax} + , RECEV_SERDER_STAFF = #{emailRequest.recevSerderStaff} + , RECEV_SENDER_EMAIL = #{emailRequest.recevSenderEmail} + , SNDNG_ID = #{emailRequest.sndngId} + , JOB_CD = #{emailRequest.jobCd} + , REG_VAR_DATA1 = #{emailRequest.regVarData1} + , REG_VAR_DATA2 = #{emailRequest.regVarData2} + , REG_VAR_DATA3 = #{emailRequest.regVarData3} + , REG_VAR_DATA4 = #{emailRequest.regVarData4} + , REG_VAR_DATA5 = #{emailRequest.regVarData5} + , POST_PROC_STT = #{emailRequest.postProcStt} + , RCEPT_YMD = #{emailRequest.rceptYmd} + , DEL_YN = #{emailRequest.delYn} + , DEL_DT = #{emailRequest.removedAt} + , DLTR = #{emailRequest.removedBy} + WHERE CON_KEY = #{emailRequest.conKey} + +/* 전자우편 신청 상태 변경(emailRequestMapper.updateRequestStatus) */ +UPDATE TB_EPOST_RCPT_REG SET + POST_PROC_STT = #{status} + , RCEPT_YMD = CASE CON_KEY + WHEN #{result.reletcdata} THEN #{result.rceptYmd} + ELSE RCEPT_YMD END + WHERE CON_KEY IN ( + #{conKey} + #{result.reldivkey} + #{result.reletcdata} + #{result.conKey} + #{result.reletcdata} + ) + AND POST_PROC_STT < #{maxStatus} + +/* 전자우편 배달 완료 처리(emailRequestMapper.updateRequestAsDelivered) */ +UPDATE TB_EPOST_RCPT_REG SET + POST_PROC_STT = #{status} + WHERE POST_PROC_STT = '27' + AND DEL_YN = 'N' + AND REG_DT < CONCAT(DATE_FORMAT(DATE_SUB(CURRENT_DATE, INTERVAL #{expiryDays} DAY), '%Y%m%d'), '000000') + +/* 전자우편 신청 삭제(emailRequestMapper.deleteRequest) */ +UPDATE TB_EPOST_RCPT_REG SET + DEL_YN = 'Y' + , DEL_DT = + , DLTR = #{currentUser.id} + WHERE CON_KEY IN (#{conKey}) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +SELECT CON_KEY + , RGST_NMBR + , RECEV_SEQ + , RECEV_CODE + , RECEV_BAR1D + , RECEV_BAR2D + , RECEV_BILL_NUNBER + , RECEV_DOC_CD1 + , RECEV_DOC_CD2 + , RECEV_DOC_CD3 + , RECEV_DOC_CD4 + , RECEV_DOC_CD5 + , RECEV_SUBJ1 + , RECEV_SUBJ2 + , RECEV_SUBJ3 + , RECEV_VIOLATE_DT + , RECEV_VIOLATE_DONG + , RECEV_VIOLATE_PLACE + , RECEV_LAWS + , RECEV_PAY_NUMBER1 + , RECEV_PAY_NUMBER2 + , RECEV_OCR0 + , RECEV_OCR1 + , RECEV_OCR2 + , RECEV_ONLINE_PAY_NUMBER + , RECEV_FINE_PRICE + , RECEV_PAY_PRICE + , RECEV_PAY_DT + , RECEV_PAY_IN_DATE + , RECEV_PAY_IN_PRICE + , RECEV_PAY_IN_ADD_PRICE + , RECEV_PAY_IN_DEFAULT_PRICE + , RECEV_PAY_OUT_DATE + , RECEV_PAY_OUT_PRICE + , RECEV_PAY_OUT_ADD_PRICE + , RECEV_PAY_OUT_DEFAULT_PRICE + , RECEV_CAR_NUMBER + , RECEV_CAR_OWNER_ZIPCODE + , RECEV_CAR_OWNER_ADDR + , RECEV_CAR_OWNER_DETAILADDR + , RECEV_CAR_OWNER_NM + , RECEV_CAR_OWNER_SSN + , RECEV_EVIDENCE_NUMBER + , RECEV_PHOTO_CNT + , RECEV_PHOTO_FILENAME1 + , RECEV_PHOTO_FILENAME2 + , RECEV_PHOTO_FILENAME3 + , RECEV_PHOTO_FILENAME4 + , VRACTNO2 + , VRACTNO3 + , VRACTNO4 + , VRACTNO5 + , VRACTNO6 + , VRACTNO7 + , VRACTNO8 + , VRACTNO9 + , VRACTNO10 + , VRACTNO11 + , DTL_VAR_DATA1 + , DTL_VAR_DATA2 + , DTL_VAR_DATA3 + , DTL_VAR_DATA4 + , DTL_VAR_DATA5 + , DLVR_RSLT_ID + , MAKE_RSLT_CD + , REG_DT + , RGTR + , VRACTNO + FROM TB_EPOST_RCPT_DTL + + + + + +/* 전자우편 신청 상세 등록(emailRequestMapper.insertRequestDetail) */ +INSERT INTO TB_EPOST_RCPT_DTL ( + CON_KEY + , RGST_NMBR + , RECEV_SEQ + , RECEV_CODE + , RECEV_BAR1D + , RECEV_BAR2D + , RECEV_BILL_NUNBER + , RECEV_DOC_CD1 + , RECEV_DOC_CD2 + , RECEV_DOC_CD3 + , RECEV_DOC_CD4 + , RECEV_DOC_CD5 + , RECEV_SUBJ1 + , RECEV_SUBJ2 + , RECEV_SUBJ3 + , RECEV_VIOLATE_DT + , RECEV_VIOLATE_DONG + , RECEV_VIOLATE_PLACE + , RECEV_LAWS + , RECEV_PAY_NUMBER1 + , RECEV_PAY_NUMBER2 + , RECEV_OCR0 + , RECEV_OCR1 + , RECEV_OCR2 + , RECEV_ONLINE_PAY_NUMBER + , RECEV_FINE_PRICE + , RECEV_PAY_PRICE + , RECEV_PAY_DT + , RECEV_PAY_IN_DATE + , RECEV_PAY_IN_PRICE + , RECEV_PAY_IN_ADD_PRICE + , RECEV_PAY_IN_DEFAULT_PRICE + , RECEV_PAY_OUT_DATE + , RECEV_PAY_OUT_PRICE + , RECEV_PAY_OUT_ADD_PRICE + , RECEV_PAY_OUT_DEFAULT_PRICE + , RECEV_CAR_NUMBER + , RECEV_CAR_OWNER_ZIPCODE + , RECEV_CAR_OWNER_ADDR + , RECEV_CAR_OWNER_DETAILADDR + , RECEV_CAR_OWNER_NM + , RECEV_CAR_OWNER_SSN + , RECEV_EVIDENCE_NUMBER + , RECEV_PHOTO_CNT + , RECEV_PHOTO_FILENAME1 + , RECEV_PHOTO_FILENAME2 + , RECEV_PHOTO_FILENAME3 + , RECEV_PHOTO_FILENAME4 + , VRACTNO2 + , VRACTNO3 + , VRACTNO4 + , VRACTNO5 + , VRACTNO6 + , VRACTNO7 + , VRACTNO8 + , VRACTNO9 + , VRACTNO10 + , VRACTNO11 + , DTL_VAR_DATA1 + , DTL_VAR_DATA2 + , DTL_VAR_DATA3 + , DTL_VAR_DATA4 + , DTL_VAR_DATA5 + , DLVR_RSLT_ID + , MAKE_RSLT_CD + , REG_DT + , RGTR + , VRACTNO +) VALUES ( + #{emailRequestDetail.conKey} + , #{emailRequestDetail.rgstNmbr} + , #{emailRequestDetail.recevSeq} + , #{emailRequestDetail.recevCode} + , #{emailRequestDetail.recevBar1d} + , #{emailRequestDetail.recevBar2d} + , #{emailRequestDetail.recevBillNunber} + , #{emailRequestDetail.recevDocCd1} + , #{emailRequestDetail.recevDocCd2} + , #{emailRequestDetail.recevDocCd3} + , #{emailRequestDetail.recevDocCd4} + , #{emailRequestDetail.recevDocCd5} + , #{emailRequestDetail.recevSubj1} + , #{emailRequestDetail.recevSubj2} + , #{emailRequestDetail.recevSubj3} + , #{emailRequestDetail.recevViolateDt} + , #{emailRequestDetail.recevViolateDong} + , #{emailRequestDetail.recevViolatePlace} + , #{emailRequestDetail.recevLaws} + , #{emailRequestDetail.recevPayNumber1} + , #{emailRequestDetail.recevPayNumber2} + , #{emailRequestDetail.recevOcr0} + , #{emailRequestDetail.recevOcr1} + , #{emailRequestDetail.recevOcr2} + , #{emailRequestDetail.recevOnlinePayNumber} + , #{emailRequestDetail.recevFinePrice} + , #{emailRequestDetail.recevPayPrice} + , #{emailRequestDetail.recevPayDt} + , #{emailRequestDetail.recevPayInDate} + , #{emailRequestDetail.recevPayInPrice} + , #{emailRequestDetail.recevPayInAddPrice} + , #{emailRequestDetail.recevPayInDefaultPrice} + , #{emailRequestDetail.recevPayOutDate} + , #{emailRequestDetail.recevPayOutPrice} + , #{emailRequestDetail.recevPayOutAddPrice} + , #{emailRequestDetail.recevPayOutDefaultPrice} + , #{emailRequestDetail.recevCarNumber} + , #{emailRequestDetail.recevCarOwnerZipcode} + , #{emailRequestDetail.recevCarOwnerAddr} + , #{emailRequestDetail.recevCarOwnerDetailaddr} + , #{emailRequestDetail.recevCarOwnerNm} + , #{emailRequestDetail.recevCarOwnerSsn} + , #{emailRequestDetail.recevEvidenceNumber} + , #{emailRequestDetail.recevPhotoCnt} + , #{emailRequestDetail.recevPhotoFilename1} + , #{emailRequestDetail.recevPhotoFilename2} + , #{emailRequestDetail.recevPhotoFilename3} + , #{emailRequestDetail.recevPhotoFilename4} + , #{emailRequestDetail.vractno2} + , #{emailRequestDetail.vractno3} + , #{emailRequestDetail.vractno4} + , #{emailRequestDetail.vractno5} + , #{emailRequestDetail.vractno6} + , #{emailRequestDetail.vractno7} + , #{emailRequestDetail.vractno8} + , #{emailRequestDetail.vractno9} + , #{emailRequestDetail.vractno10} + , #{emailRequestDetail.vractno11} + , #{emailRequestDetail.dtlVarData1} + , #{emailRequestDetail.dtlVarData2} + , #{emailRequestDetail.dtlVarData3} + , #{emailRequestDetail.dtlVarData4} + , #{emailRequestDetail.dtlVarData5} + , #{emailRequestDetail.dlvrRsltId} + , #{emailRequestDetail.makeRsltCd} + , + , #{currentUser.id} + , #{emailRequestDetail.vractno} +) + +/* 전자우편 신청 상세 수정(emailRequestMapper.updateRequestDetail) */ +UPDATE TB_EPOST_RCPT_DTL SET + RECEV_SEQ = #{emailRequestDetail.recevSeq} + , RECEV_CODE = #{emailRequestDetail.recevCode} + , RECEV_BAR1D = #{emailRequestDetail.recevBar1d} + , RECEV_BAR2D = #{emailRequestDetail.recevBar2d} + , RECEV_BILL_NUNBER = #{emailRequestDetail.recevBillNunber} + , RECEV_DOC_CD1 = #{emailRequestDetail.recevDocCd1} + , RECEV_DOC_CD2 = #{emailRequestDetail.recevDocCd2} + , RECEV_DOC_CD3 = #{emailRequestDetail.recevDocCd3} + , RECEV_DOC_CD4 = #{emailRequestDetail.recevDocCd4} + , RECEV_DOC_CD5 = #{emailRequestDetail.recevDocCd5} + , RECEV_SUBJ1 = #{emailRequestDetail.recevSubj1} + , RECEV_SUBJ2 = #{emailRequestDetail.recevSubj2} + , RECEV_SUBJ3 = #{emailRequestDetail.recevSubj3} + , RECEV_VIOLATE_DT = #{emailRequestDetail.recevViolateDt} + , RECEV_VIOLATE_DONG = #{emailRequestDetail.recevViolateDong} + , RECEV_VIOLATE_PLACE = #{emailRequestDetail.recevViolatePlace} + , RECEV_LAWS = #{emailRequestDetail.recevLaws} + , RECEV_PAY_NUMBER1 = #{emailRequestDetail.recevPayNumber1} + , RECEV_PAY_NUMBER2 = #{emailRequestDetail.recevPayNumber2} + , RECEV_OCR0 = #{emailRequestDetail.recevOcr0} + , RECEV_OCR1 = #{emailRequestDetail.recevOcr1} + , RECEV_OCR2 = #{emailRequestDetail.recevOcr2} + , RECEV_ONLINE_PAY_NUMBER = #{emailRequestDetail.recevOnlinePayNumber} + , RECEV_FINE_PRICE = #{emailRequestDetail.recevFinePrice} + , RECEV_PAY_PRICE = #{emailRequestDetail.recevPayPrice} + , RECEV_PAY_DT = #{emailRequestDetail.recevPayDt} + , RECEV_PAY_IN_DATE = #{emailRequestDetail.recevPayInDate} + , RECEV_PAY_IN_PRICE = #{emailRequestDetail.recevPayInPrice} + , RECEV_PAY_IN_ADD_PRICE = #{emailRequestDetail.recevPayInAddPrice} + , RECEV_PAY_IN_DEFAULT_PRICE = #{emailRequestDetail.recevPayInDefaultPrice} + , RECEV_PAY_OUT_DATE = #{emailRequestDetail.recevPayOutDate} + , RECEV_PAY_OUT_PRICE = #{emailRequestDetail.recevPayOutPrice} + , RECEV_PAY_OUT_ADD_PRICE = #{emailRequestDetail.recevPayOutAddPrice} + , RECEV_PAY_OUT_DEFAULT_PRICE = #{emailRequestDetail.recevPayOutDefaultPrice} + , RECEV_CAR_NUMBER = #{emailRequestDetail.recevCarNumber} + , RECEV_CAR_OWNER_ZIPCODE = #{emailRequestDetail.recevCarOwnerZipcode} + , RECEV_CAR_OWNER_ADDR = #{emailRequestDetail.recevCarOwnerAddr} + , RECEV_CAR_OWNER_DETAILADDR = #{emailRequestDetail.recevCarOwnerDetailaddr} + , RECEV_CAR_OWNER_NM = #{emailRequestDetail.recevCarOwnerNm} + , RECEV_CAR_OWNER_SSN = #{emailRequestDetail.recevCarOwnerSsn} + , RECEV_EVIDENCE_NUMBER = #{emailRequestDetail.recevEvidenceNumber} + , RECEV_PHOTO_CNT = #{emailRequestDetail.recevPhotoCnt} + , RECEV_PHOTO_FILENAME1 = #{emailRequestDetail.recevPhotoFilename1} + , RECEV_PHOTO_FILENAME2 = #{emailRequestDetail.recevPhotoFilename2} + , RECEV_PHOTO_FILENAME3 = #{emailRequestDetail.recevPhotoFilename3} + , RECEV_PHOTO_FILENAME4 = #{emailRequestDetail.recevPhotoFilename4} + , VRACTNO2 = #{emailRequestDetail.vractno2} + , VRACTNO3 = #{emailRequestDetail.vractno3} + , VRACTNO4 = #{emailRequestDetail.vractno4} + , VRACTNO5 = #{emailRequestDetail.vractno5} + , VRACTNO6 = #{emailRequestDetail.vractno6} + , VRACTNO7 = #{emailRequestDetail.vractno7} + , VRACTNO8 = #{emailRequestDetail.vractno8} + , VRACTNO9 = #{emailRequestDetail.vractno9} + , VRACTNO10 = #{emailRequestDetail.vractno10} + , VRACTNO11 = #{emailRequestDetail.vractno11} + , DTL_VAR_DATA1 = #{emailRequestDetail.dtlVarData1} + , DTL_VAR_DATA2 = #{emailRequestDetail.dtlVarData2} + , DTL_VAR_DATA3 = #{emailRequestDetail.dtlVarData3} + , DTL_VAR_DATA4 = #{emailRequestDetail.dtlVarData4} + , DTL_VAR_DATA5 = #{emailRequestDetail.dtlVarData5} + , DLVR_RSLT_ID = #{emailRequestDetail.dlvrRsltId} + , MAKE_RSLT_CD = #{emailRequestDetail.makeRsltCd} + , VRACTNO = #{emailRequestDetail.vractno} + WHERE CON_KEY = #{emailRequestDetail.conKey} + AND RGST_NMBR = #{emailRequestDetail.rgstNmbr} + +/* 전자우편 신청 상세 상태 변경(emailRequestMapper.updateRequestDetailStatus) */ +UPDATE TB_EPOST_RCPT_DTL A + + , ( + SELECT #{result.conKey} CON_KEY, #{result.rgstNmbr} RGST_NMBR, #{result.dataCd} MAKE_RSLT_CD + ) B + SET A.MAKE_RSLT_CD = B.MAKE_RSLT_CD + + + , ( + SELECT #{result.reletcdata} CON_KEY, #{result.regino} RGST_NMBR, #{result.dlvrRsltId} DLVR_RSLT_ID + ) B + SET A.DLVR_RSLT_ID = B.DLVR_RSLT_ID + + WHERE A.CON_KEY = B.CON_KEY + AND B.RGST_NMBR = B.RGST_NMBR + + + \ No newline at end of file diff --git a/src/main/resources/sql/mapper/interfaces/emailResult-mapper.xml b/src/main/resources/sql/mapper/interfaces/emailResult-mapper.xml new file mode 100644 index 00000000..73a2c9b4 --- /dev/null +++ b/src/main/resources/sql/mapper/interfaces/emailResult-mapper.xml @@ -0,0 +1,216 @@ + + + + + + +/* 전자우편 신청 수신 결과 등록(emailResultMapper.insertReceptionResult) */ + +SELECT IFNULL(MAX(RCPTN_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID + FROM TB_EPOST_RCPTN_RSLT A, () B + WHERE RCPTN_RSLT_ID LIKE CONCAT(TODAY, '%') +INSERT INTO TB_EPOST_RCPTN_RSLT ( + RCPTN_RSLT_ID + , OUTSIDUSERID + , INIT_TIME + , RECV_FILENAME + , RELDIVKEY + , RECPRSNSEQ + , REGINO + , ATTACHFILENM + , JUNGHAP1 + , JUNGHAP2 + , JUNGHAP3 + , CODE + , MSG + , REG_DT + , RGTR +) +SELECT #{rcptnRsltId} + , #{outsiduserid} + , #{initTime} + , #{recvFilename} + , #{reldivkey} + , #{recprsnseq} + , #{regino} + , #{attachfilenm} + , #{junghap1} + , #{junghap2} + , #{junghap3} + , #{code} + , #{msg} + , #{createdAt} + , #{createdBy} + WHERE NOT EXISTS ( + SELECT 1 + FROM TB_EPOST_RCPTN_RSLT + WHERE RELDIVKEY = #{reldivkey} + AND REGINO = #{regino} + ) + +/* 전자우편 신청 접수 결과 등록(emailResultMapper.insertRegistrationResult) */ + +SELECT IFNULL(MAX(RCPT_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID + FROM TB_EPOST_RCPT_RSLT A, () B + WHERE RCPT_RSLT_ID LIKE CONCAT(TODAY, '%') +INSERT INTO TB_EPOST_RCPT_RSLT ( + RCPT_RSLT_ID + , CON_ORG + , RELORSECT_CD + , RELETCDATA + , EXTRI_REGYMD + , RCEPT_YMD + , RCEPT_ID + , DIV_KB + , RCEPT_CNT + , RCEPT_AMT + , USEFEE_AMT + , TOTPOST_PRC + , JOB_CD + , REG_DT + , RGTR +) +SELECT #{rcptRsltId} + , #{conOrg} + , #{relorsectCd} + , #{reletcdata} + , #{extriRegymd} + , #{rceptYmd} + , #{rceptId} + , #{divKb} + , #{rceptCnt} + , #{rceptAmt} + , #{usefeeAmt} + , #{totpostPrc} + , #{jobCd} + , #{createdAt} + , #{createdBy} + FROM DUAL + WHERE NOT EXISTS ( + SELECT 1 + FROM TB_EPOST_RCPT_RSLT + WHERE RELETCDATA = #{reletcdata} + ) + +/* 전자우편 신청 접수 결과(jobCd) 업데이트(emailResultMapper.updateRegistrationResult) */ +UPDATE TB_EPOST_RCPT_RSLT A + , TB_EPOST_RCPT_REG B + SET A.JOB_CD = SUBSTR(B.JOB_CD, 2) + WHERE A.RELETCDATA IN (#{conKey}) + AND A.RELETCDATA = B.CON_KEY + +/* 전자우편 제작 결과 등록(emailResultMapper.insertProductionResult) */ +INSERT INTO TB_EPOST_MAKE_RSLT ( + CON_KEY + , RGST_NMBR + , RELETCDATA + , DATA_CD + , MAIL_CNT + , REG_DT + , RGTR +) +SELECT #{conKey} + , #{rgstNmbr} + , #{reletcdata} + , #{dataCd} + , #{mailCnt} + , #{createdAt} + , #{createdBy} + FROM DUAL + WHERE NOT EXISTS ( + SELECT 1 + FROM TB_EPOST_MAKE_RSLT + WHERE CON_KEY = #{conKey} + AND RGST_NMBR = #{rgstNmbr} + ) + +/* 전자우편 배달 결과 등록(emailResultMapper.insertDeliveryResult) */ + +SELECT IFNULL(MAX(DLVR_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID + FROM TB_EPOST_DLVR_RSLT A, () B + WHERE DLVR_RSLT_ID LIKE CONCAT(TODAY, '%') +INSERT INTO TB_EPOST_DLVR_RSLT ( + DLVR_RSLT_ID + , CON_KEY + , OUTSIDUSERID + , RELETCDATA + , REGINO + , DELIVYMD + , DELIVHHMI + , DELIVRSLTCD + , NONDELIVREASNCD + , NONDELIVREASNCDNM + , SUBRECPRSNNM + , RELRECPRSNCD + , RELRECPRSNCDNM + , REG_DT + , RGTR +) VALUES ( + #{dlvrRsltId} + , #{reletcdata} + , #{outsiduserid} + , #{reletcdata} + , #{regino} + , #{delivymd} + , #{delivhhmi} + , #{delivrsltcd} + , #{nondelivreasncd} + , #{nondelivreasncdnm} + , #{subrecprsnnm} + , #{relrecprsncd} + , #{relrecprsncdnm} + , #{createdAt} + , #{createdBy} +) + + + +/* 전자우편 신청결과 로그 등록(emailResultMapper.insertResultLogs) */ +INSERT INTO TB_EPOST_PROC_LOG ( + PROC_ID + , PROC_SEQ + , PROC_TYPE + , RESULT_ID + , CON_KEY + , RGST_NMBR + , PROC_STT + , REG_DT + , RGTR +) +SELECT #{log.procId} + , #{log.procSeq} + , #{log.procType} + , #{log.resultId} + , #{log.conKey} + , #{log.rgstNmbr} + , 'N' + , #{log.createdAt} + , #{log.createdBy} + + +/* 전자우편 신청결과 로그 상태 업데이트(emailResultMapper.updateResultLogStatus) */ +UPDATE TB_EPOST_PROC_LOG A + , ( + SELECT #{log.PROC_ID} PROC_ID, #{log.PROC_SEQ} PROC_SEQ, #{log.PROC_STT} PROC_STT + ) B + SET A.PROC_STT = B.PROC_STT + WHERE A.PROC_ID = B.PROC_ID + AND A.PROC_SEQ = B.PROC_SEQ + + \ No newline at end of file diff --git a/src/main/resources/sql/mapper/interfaces/smg-mapper.xml b/src/main/resources/sql/mapper/interfaces/smg-mapper.xml new file mode 100644 index 00000000..19f9689c --- /dev/null +++ b/src/main/resources/sql/mapper/interfaces/smg-mapper.xml @@ -0,0 +1,386 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/* smgMapper.insertPetition(국민신문고 수신 민원 등록) */ +INSERT INTO TB_ESB_INTERFACE ( + INTERFACE_SEQ_N + , SYS_GUBUN_C + , ANC_CODE_V + , PETI_GUBUN_C + , PETI_ANC_CODE_V + , PETI_NO_C + , CIVIL_NO_C + , PETER_NAME_V + , ZIP_CODE_C + , ADDRESS_V + , EMAIL_V + , CEL_NO_V + , TEL_NO_V + , PETI_TITLE_V + , PETI_REASON_L + , OPEN_YN_C + , PETI_REG_D + , PETI_REASON_ATTACH_YN_C + , CIVIL_GIST_V + , CIVIL_ABSTRACT_L + , PCD_DEPT_V + , PCD_DEPT_NM_V + , DUTY_ID_V + , PCD_EMAIL_V + , PCD_TEL_V + , PCD_RST_CONT_L + , DO_REG_D + , PCD_RST_CONT_ATTACH_YN_C + , PCD_ANC_CODE_V + , PETI_PROC_DUR_N + , PETI_END_D + , ANC_REG_D + , MORE_AGAIN_V + , SATISFY_C + , SATISFY2_C + , SATISFY3_C + , SATISFY_REG_D + , REG_D + , SEND_YN_C + , SEND_D + , APPLY_D + , APPLY_GUBUN_C + , PCD_GUBUN_V + , PCD_GUBUN2_V + , PCD_GUBUN3_V + , PETI_PATH_GUBUN_C + , ORGNL_FILE_NM + , REG_DT + , RGTR +) VALUES ( + #{interfaceSeqN} + , #{sysGubunC} + , #{ancCodeV} + , #{petiGubunC} + , #{petiAncCodeV} + , #{petiNoC} + , #{civilNoC} + , #{peterNameV} + , #{zipCodeC} + , #{addressV} + , #{emailV} + , #{celNoV} + , #{telNoV} + , #{petiTitleV} + , #{petiReasonL} + , #{openYnC} + , #{petiRegD} + , #{petiReasonAttachYnC} + , #{civilGistV} + , #{civilAbstractL} + , #{pcdDeptV} + , #{pcdDeptNmV} + , #{dutyIdV} + , #{pcdEmailV} + , #{pcdTelV} + , #{pcdRstContL} + , #{doRegD} + , #{pcdRstContAttachYnC} + , #{pcdAncCodeV} + , #{petiProcDurN} + , #{petiEndD} + , #{ancRegD} + , #{moreAgainV} + , #{satisfyC} + , #{satisfy2C} + , #{satisfy3C} + , #{satisfyRegD} + , #{regD} + , #{sendYnC} + , #{sendD} + , #{applyD} + , #{applyGubunC} + , #{pcdGubunV} + , #{pcdGubun2V} + , #{pcdGubun3V} + , #{petiPathGubunC} + , #{originalFilename} + , + , #{createdBy} +) + +/* smgMapper.insertFile(국민신문고 수신 민원 첨부파일 등록) */ +INSERT INTO TB_ESB_INTERFACE_FILE ( + INTERFACE_SEQ_N + + , PETI_FILE_SIZE_N + , PETI_FILE_PATH1_V + , PETI_FILE_PATH2_V + , PETI_FILE_PATH3_V + , PETI_FILE_PATH4_V + , PETI_FILE_PATH5_V + + , PCD_FILE_SIZE_N + , PCD_FILE_PATH1_V + , PCD_FILE_PATH2_V + , PCD_FILE_PATH3_V + , PCD_FILE_PATH4_V + , PCD_FILE_PATH5_V + + , STRG_ATCHFILE_NM1 + , STRG_ATCHFILE_NM2 + , STRG_ATCHFILE_NM3 + , STRG_ATCHFILE_NM4 + , STRG_ATCHFILE_NM5 +) VALUES ( + #{interfaceSeqN} + + , #{petiFileSizeN} + , #{petiFilePath1V} + , #{petiFilePath2V} + , #{petiFilePath3V} + , #{petiFilePath4V} + , #{petiFilePath5V} + + , #{pcdFileSizeN} + , #{pcdFilePath1V} + , #{pcdFilePath1V} + , #{pcdFilePath1V} + , #{pcdFilePath1V} + , #{pcdFilePath1V} + + , #{attachmentPath1} + , #{attachmentPath2} + , #{attachmentPath3} + , #{attachmentPath4} + , #{attachmentPath5} +) + + + +/* smgMapper.insertReply(답변/반송 등록)*/ +INSERT INTO TB_ESB_INTERFACE_TRSM ( + INTERFACE_SEQ_N + , SYS_GUBUN_C + , ANC_CODE_V + , PETI_GUBUN_C + , PETI_ANC_CODE_V + , PETI_NO_C + , CIVIL_NO_C + , CIVIL_GIST_V + , CIVIL_ABSTRACT_L + , PCD_DEPT_V + , PCD_DEPT_NM_V + , DUTY_ID_V + , PCD_EMAIL_V + , PCD_TEL_V + , PCD_RST_CONT_L + , DO_REG_D + , PCD_RST_CONT_ATTACH_YN_C + , PCD_ANC_CODE_V + , REG_D + , SEND_YN_C + , SEND_D + , APPLY_D + , APPLY_GUBUN_C + , PCD_GUBUN_V + , PCD_GUBUN2_V + , PCD_GUBUN3_V + , TRSM_INTERFACE_SEQ_N + , TRSM_STTS_CD + , TRSM_STTS_MSG + , REG_DT + , RGTR + , MDFCN_DT + , MDFR +) VALUES ( + #{reply.interfaceSeqN} + , #{reply.sysGubunC} + , #{reply.ancCodeV} + , #{reply.petiGubunC} + , #{reply.petiAncCodeV} + , #{reply.petiNoC} + , #{reply.civilNoC} + , #{reply.civilGistV} + , #{reply.civilAbstractL} + , #{reply.pcdDeptV} + , #{reply.pcdDeptNmV} + , #{reply.dutyIdV} + , #{reply.pcdEmailV} + , #{reply.pcdTelV} + , #{reply.pcdRstContL} + , #{reply.doRegD} + , #{reply.pcdRstContAttachYnC} + , #{reply.pcdAncCodeV} + , #{reply.regD} + , #{reply.sendYnC} + , #{reply.sendD} + , #{reply.applyD} + , #{reply.applyGubunC} + , #{reply.pcdGubunV} + , #{reply.pcdGubun2V} + , #{reply.pcdGubun3V} + , #{reply.sendInterfaceSeqN} + , #{reply.sendStatus} + , #{reply.sendStatusMsg} + , + , #{currentUser.id} + , + , #{currentUser.id} +) + +/* smgMapper.updateSendStatus(답변/반송 전송상태 업데이트) */ +UPDATE TB_ESB_INTERFACE_TRSM A + , ( + SELECT #{reply.interfaceSeqN} INTERFACE_SEQ_N, #{reply.sendInterfaceSeqN} TRSM_INTERFACE_SEQ_N, #{reply.sendD} SEND_D, #{reply.applyD} APPLY_D, #{reply.applyGubunC} APPLY_GUBUN_C, #{reply.sendStatus} TRSM_STTS_CD, #{reply.sendStatusMsg} TRSM_STTS_MSG + ) B + SET A.TRSM_INTERFACE_SEQ_N = B.TRSM_INTERFACE_SEQ_N + , A.SEND_D = B.SEND_D + , A.APPLY_D = B.APPLY_D + , A.APPLY_GUBUN_C = B.APPLY_GUBUN_C + , A.TRSM_STTS_CD = B.TRSM_STTS_CD + , A.TRSM_STTS_MSG = B.TRSM_STTS_MSG + , A.MDFCN_DT = #{now} + , A.MDFR = #{currentUser.id} + WHERE A.INTERFACE_SEQ_N = B.INTERFACE_SEQ_N + + \ No newline at end of file diff --git a/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml b/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml new file mode 100644 index 00000000..178be247 --- /dev/null +++ b/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml @@ -0,0 +1,186 @@ + + + + +/* vehicleInfoMapper.insertBasicInfo(자동차 기본사항 조회 로그 등록) */ +INSERT INTO TB_BASIC_INFO_LOG ( + LOG_ID + , 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 +) 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} +) + + \ No newline at end of file