diff --git a/release/xit-lntris-interface.zip b/release/xit-lntris-interface.zip index 2f77732..d20b395 100644 Binary files a/release/xit-lntris-interface.zip and b/release/xit-lntris-interface.zip differ diff --git a/src/main/resources/intf-conf/file-job.conf b/src/main/resources/intf-conf/file-job.conf index 1d06a7c..6f389c3 100644 --- a/src/main/resources/intf-conf/file-job.conf +++ b/src/main/resources/intf-conf/file-job.conf @@ -15,7 +15,9 @@ "defaults": { "charset": "euc-kr", "fetchSize": 100, - "workSize": 100 + "workSize": 100, + "receiptDates": -4, /* 처리전문 수신일수(0: 당일 전문, -n: 당일부터 n일전까지 전문, 지정하지 않으면 폴더의 모든 전문) */ + "receiptCount": 1 /* 수신파일 처리건수(n > 0: n건, n < 1: 모든 파일) */ }, "jobs": [ diff --git a/src/main/resources/sql/mapper/lntris/lntris-A-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-A-mapper.xml index 7345448..693c6b7 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-A-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-A-mapper.xml @@ -206,8 +206,7 @@ /* 과태료 대장 단속 정보 등록(lntrisAMapper.insertA01) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(A01_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_A01 A, () B - WHERE A01_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_A01 A ON A01_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_A01 ( A01_ID , TASK_SE_CD @@ -655,8 +654,7 @@ INSERT INTO TB_NIS_INDIV_A01 ( /* 과태료 대장 전일자 변동자료 등록(lntrisAMapper.insertA02) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(A02_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_A02 A, () B - WHERE A02_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_A02 A ON A02_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_A02 ( A02_ID , LINK_YMD @@ -1146,8 +1144,7 @@ UPDATE TB_NIS_INDIV_A02 /* 과태료 대장 상세 조회 결과 등록(lntrisAMapper.insertA03) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(A03_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_A03 A, () B - WHERE A03_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_A03 A ON A03_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_A03 ( A03_ID , TASK_SE_CD diff --git a/src/main/resources/sql/mapper/lntris/lntris-B01_03-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-B01_03-mapper.xml index b726962..7516194 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-B01_03-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-B01_03-mapper.xml @@ -67,8 +67,7 @@ /* 체납상세세목정보_요청 등록(lntrisB01_03Mapper.insertB01Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B01_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B01 A, () B - WHERE B01_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B01 A ON B01_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B01 ( B01_ID , TASK_SE_CD @@ -604,8 +603,7 @@ SELECT #{resp.b01Id} /* 수납 상세정보_요청 등록(lntrisB01_03Mapper.insertB02Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B02_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B02 A, () B - WHERE B02_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B02 A ON B02_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B02 ( B02_ID , TASK_SE_CD @@ -1041,8 +1039,7 @@ SELECT #{resp.b02Id} /* 결손 상세세목정보_요청 등록(lntrisB01_03Mapper.insertB03Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B03_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B03 A, () B - WHERE B03_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B03 A ON B03_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B03 ( B03_ID , TASK_SE_CD diff --git a/src/main/resources/sql/mapper/lntris/lntris-B04_06-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-B04_06-mapper.xml index ff4e03c..f8d173c 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-B04_06-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-B04_06-mapper.xml @@ -54,8 +54,7 @@ /* 체납자독려정보_요청 등록(lntrisB04_06Mapper.insertB04Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B04_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B04 A, () B - WHERE B04_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B04 A ON B04_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B04 ( B04_ID , TASK_SE_CD @@ -247,8 +246,7 @@ SELECT #{resp.b04Id} /* 압류정보_요청 등록(lntrisB04_06Mapper.insertB05Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B05_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B05 A, () B - WHERE B05_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B05 A ON B05_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B05 ( B05_ID , TASK_SE_CD @@ -484,8 +482,7 @@ SELECT #{resp.b05Id} /* 압류시점 체납정보_요청 등록(lntrisB04_06Mapper.insertB06Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B06_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B06 A, () B - WHERE B06_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B06 A ON B06_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B06 ( B06_ID , TASK_SE_CD diff --git a/src/main/resources/sql/mapper/lntris/lntris-B07_09-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-B07_09-mapper.xml index c9c4c67..0edc8fd 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-B07_09-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-B07_09-mapper.xml @@ -50,8 +50,7 @@ /* 과오납 상세정보 요청 등록(lntrisB07_09Mapper.insertB07Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B07_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B07 A, () B - WHERE B07_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B07 A ON B07_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B07 ( B07_ID , TASK_SE_CD @@ -283,8 +282,7 @@ SELECT #{resp.b07Id} /* 영치정보 요청 등록(lntrisB07_09Mapper.insertB08Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B08_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B08 A, () B - WHERE B08_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B08 A ON B08_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B08 ( B08_ID , TASK_SE_CD @@ -482,8 +480,7 @@ SELECT #{resp.b08Id} /* 고지발송정보 요청 등록(lntrisB07_09Mapper.insertB09Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B09_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B09 A, () B - WHERE B09_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B09 A ON B09_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B09 ( B09_ID , TASK_SE_CD diff --git a/src/main/resources/sql/mapper/lntris/lntris-B10_12-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-B10_12-mapper.xml index e5dc09b..150ddba 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-B10_12-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-B10_12-mapper.xml @@ -50,8 +50,7 @@ /* 우편발송결과정보 요청 등록(lntrisB10_12Mapper.insertB10Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B10_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B10 A, () B - WHERE B10_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B10 A ON B10_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B10 ( B10_ID , TASK_SE_CD @@ -301,8 +300,7 @@ SELECT #{resp.b10Id} /* 과태료대장 목록 요청 등록(lntrisB10_12Mapper.insertB11Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B11_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B11 A, () B - WHERE B11_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B11 A ON B11_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B11 ( B11_ID , TASK_SE_CD @@ -564,8 +562,7 @@ SELECT #{resp.b11Id} /* 과태료대장 상세 요청 등록(lntrisB10_12Mapper.insertB12Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B12_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B12 A, () B - WHERE B12_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B12 A ON B12_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B12 ( B12_ID , TASK_SE_CD diff --git a/src/main/resources/sql/mapper/lntris/lntris-B13_16-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-B13_16-mapper.xml index 26dc885..6f49064 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-B13_16-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-B13_16-mapper.xml @@ -38,8 +38,7 @@ /* 주정차위반 과태료 대장 목록 요청 등록(lntrisB13_16Mapper.insertB13Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B13_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B13 A, () B - WHERE B13_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B13 A ON B13_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B13 ( B13_ID , TASK_SE_CD @@ -304,8 +303,7 @@ SELECT #{resp.b13Id} /* 주정차위반 과태료 대장 상세 요청 등록(lntrisB13_16Mapper.insertB14Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B14_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B14 A, () B - WHERE B14_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B14 A ON B14_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B14 ( B14_ID , TASK_SE_CD @@ -823,8 +821,7 @@ INSERT INTO TB_NIS_SPCL_B14RV ( /* 전용차로위반 과태료 대장 목록 요청 등록(lntrisB13_16Mapper.insertB15Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B15_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B15 A, () B - WHERE B15_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B15 A ON B15_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B15 ( B15_ID , TASK_SE_CD @@ -1084,8 +1081,7 @@ SELECT #{resp.b15Id} /* 전용차로위반 과태료 대장 상세 요청 등록(lntrisB13_16Mapper.insertB16Req) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B16_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_SPCL_B16 A, () B - WHERE B16_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_SPCL_B16 A ON B16_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_SPCL_B16 ( B16_ID , TASK_SE_CD diff --git a/src/main/resources/sql/mapper/lntris/lntris-D-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-D-mapper.xml index e40b65c..4f9186e 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-D-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-D-mapper.xml @@ -200,8 +200,7 @@ /* 부과정보 등록(lntrisDMapper.insertD01) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D01_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D01 A, () B - WHERE D01_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D01 A ON D01_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D01 ( D01_ID , TASK_SE_CD @@ -611,8 +610,7 @@ INSERT INTO TB_NIS_INDIV_D01 ( /* 부과_수납정보 등록(lntrisDMapper.insertD02) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D02_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D02 A, () B - WHERE D02_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D02 A ON D02_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D02 ( D02_ID , TASK_SE_CD @@ -979,8 +977,7 @@ INSERT INTO TB_NIS_INDIV_D02 ( /* 부과결과정보 등록(lntrisDMapper.insertD03) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D03_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D03 A, () B - WHERE D03_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D03 A ON D03_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D03 ( D03_ID , SGB_CD @@ -1189,8 +1186,7 @@ UPDATE TB_NIS_INDIV_D03 /* 부과취소정보 등록(lntrisDMapper.insertD04) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D04_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D04 A, () B - WHERE D04_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D04 A ON D04_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D04 ( D04_ID , SGB_CD @@ -1355,8 +1351,7 @@ UPDATE TB_NIS_INDIV_D04 /* 수납정보 등록(lntrisDMapper.insertD05) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D05_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D05 A, () B - WHERE D05_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D05 A ON D05_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D05 ( D05_ID , SGB_CD @@ -1559,8 +1554,7 @@ UPDATE TB_NIS_INDIV_D05 /* 감액정보 등록(lntrisDMapper.insertD06) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D06_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D06 A, () B - WHERE D06_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D06 A ON D06_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D06 ( D06_ID , SGB_CD diff --git a/src/main/resources/sql/mapper/lntris/lntris-D07-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-D07-mapper.xml index b5ddce2..4bbf75e 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-D07-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-D07-mapper.xml @@ -263,8 +263,7 @@ /* 부과체납정보 등록(lntrisD07Mapper.insertD07a) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07A_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D07A A, () B - WHERE D07A_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D07A A ON D07A_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D07A ( D07A_ID , CRTR_YMD @@ -628,8 +627,7 @@ UPDATE TB_NIS_INDIV_D07A /* 수납정보 등록(lntrisD07Mapper.insertD07b) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07B_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D07B A, () B - WHERE D07B_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D07B A ON D07B_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D07B ( D07B_ID , CRTR_YMD @@ -833,8 +831,7 @@ UPDATE TB_NIS_INDIV_D07B /* 감액정보 등록(lntrisD07Mapper.insertD07c) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07C_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D07C A, () B - WHERE D07C_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D07C A ON D07C_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D07C ( D07C_ID , CRTR_YMD @@ -1032,8 +1029,7 @@ UPDATE TB_NIS_INDIV_D07C /* 과오납정보 등록(lntrisD07Mapper.insertD07d) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07D_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D07D A, () B - WHERE D07D_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D07D A ON D07D_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D07D ( D07D_ID , CRTR_YMD @@ -1247,8 +1243,7 @@ UPDATE TB_NIS_INDIV_D07D /* 결손정보 등록(lntrisD07Mapper.insertD07e) */ SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07E_ID), 9) + 1, 1), 22, '0')) NEW_ID - FROM TB_NIS_INDIV_D07E A, () B - WHERE D07E_ID LIKE CONCAT(TODAY, '%') + FROM () B LEFT OUTER JOIN TB_NIS_INDIV_D07E A ON D07E_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_NIS_INDIV_D07E ( D07E_ID , CRTR_YMD