수신 파일 처리 시 날짜 조건 추가

master
mjkhan21 2 months ago
parent a2220e9b1e
commit d2a7c6bda4

@ -50,10 +50,10 @@ public interface LntrisAService {
* @param orgs / * @param orgs /
* @param sysCodes * @param sysCodes
*/ */
List<LntrisA02> readA02s(String[] orgs, String... sysCodes); List<LntrisA02> readA02s(String[] orgs, String[] sysCodes, String... dates);
default List<LntrisA02> readA02s() { default List<LntrisA02> readA02s() {
return readA02s(null); return readA02s(null, null);
} }
/** . /** .

@ -56,8 +56,8 @@ public class LntrisAServiceBean extends ScheduledServiceBean implements LntrisAS
} }
@Override @Override
public List<LntrisA02> readA02s(String[] orgs, String... sysCodes) { public List<LntrisA02> readA02s(String[] orgs, String[] sysCodes, String... dates) {
return execute(a02Bean, () -> a02Bean.read(orgs, sysCodes)); return execute(a02Bean, () -> a02Bean.read(orgs, sysCodes, dates));
} }
@Override @Override

@ -95,9 +95,10 @@ public class LntrisAController extends AbstractController {
@Operation(summary = "과태료 대장 전일자 변동자료 일괄조회", tags = "a02") @Operation(summary = "과태료 대장 전일자 변동자료 일괄조회", tags = "a02")
public void readA02s( public void readA02s(
@Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs, @Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs,
@Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes @Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes,
@Parameter(description = "날짜") @RequestParam(value = "dates", required=false) String... dates
) { ) {
lntrisAService.readA02s(orgs, sysCodes); lntrisAService.readA02s(orgs, sysCodes, dates);
} }
/** /**

@ -151,10 +151,10 @@ public interface LntrisDService {
* @param orgs / * @param orgs /
* @param sysCodes * @param sysCodes
*/ */
List<LntrisD07a> readD07as(String[] orgs, String... sysCodes); List<LntrisD07a> readD07as(String[] orgs, String[] sysCodes, String... dates);
default List<LntrisD07a> readD07as() { default List<LntrisD07a> readD07as() {
return readD07as(null); return readD07as(null, null);
} }
/** . /** .
@ -179,10 +179,10 @@ public interface LntrisDService {
* @param orgs / * @param orgs /
* @param sysCodes * @param sysCodes
*/ */
List<LntrisD07b> readD07bs(String[] orgs, String... sysCodes); List<LntrisD07b> readD07bs(String[] orgs, String[] sysCodes, String... dates);
default List<LntrisD07b> readD07bs() { default List<LntrisD07b> readD07bs() {
return readD07bs(null); return readD07bs(null, null);
} }
/** . /** .
@ -207,10 +207,10 @@ public interface LntrisDService {
* @param orgs / * @param orgs /
* @param sysCodes * @param sysCodes
*/ */
List<LntrisD07c> readD07cs(String[] orgs, String... sysCodes); List<LntrisD07c> readD07cs(String[] orgs, String[] sysCodes, String... dates);
default List<LntrisD07c> readD07cs() { default List<LntrisD07c> readD07cs() {
return readD07cs(null); return readD07cs(null, null);
} }
/** . /** .
@ -235,10 +235,10 @@ public interface LntrisDService {
* @param orgs / * @param orgs /
* @param sysCodes * @param sysCodes
*/ */
List<LntrisD07d> readD07ds(String[] orgs, String... sysCodes); List<LntrisD07d> readD07ds(String[] orgs, String[] sysCodes, String... dates);
default List<LntrisD07d> readD07ds() { default List<LntrisD07d> readD07ds() {
return readD07ds(null); return readD07ds(null, null);
} }
/** . /** .
@ -263,10 +263,10 @@ public interface LntrisDService {
* @param orgs / * @param orgs /
* @param sysCodes * @param sysCodes
*/ */
List<LntrisD07e> readD07es(String[] orgs, String... sysCodes); List<LntrisD07e> readD07es(String[] orgs, String[] sysCodes, String... dates);
default List<LntrisD07e> readD07es() { default List<LntrisD07e> readD07es() {
return readD07es(null); return readD07es(null, null);
} }
/** . /** .

@ -154,8 +154,8 @@ public class LntrisDServiceBean extends ScheduledServiceBean implements LntrisDS
} }
@Override @Override
public List<LntrisD07a> readD07as(String[] orgs, String... sysCodes) { public List<LntrisD07a> readD07as(String[] orgs, String[] sysCodes, String... dates) {
return execute(d07aBean, () -> d07aBean.read(orgs, sysCodes)); return execute(d07aBean, () -> d07aBean.read(orgs, sysCodes, dates));
} }
@Override @Override
@ -169,8 +169,8 @@ public class LntrisDServiceBean extends ScheduledServiceBean implements LntrisDS
} }
@Override @Override
public List<LntrisD07b> readD07bs(String[] orgs, String... sysCodes) { public List<LntrisD07b> readD07bs(String[] orgs, String[] sysCodes, String... dates) {
return execute(d07bBean, () -> d07bBean.read(orgs, sysCodes)); return execute(d07bBean, () -> d07bBean.read(orgs, sysCodes, dates));
} }
@Override @Override
@ -184,8 +184,8 @@ public class LntrisDServiceBean extends ScheduledServiceBean implements LntrisDS
} }
@Override @Override
public List<LntrisD07c> readD07cs(String[] orgs, String... sysCodes) { public List<LntrisD07c> readD07cs(String[] orgs, String[] sysCodes, String... dates) {
return execute(d07cBean, () -> d07cBean.read(orgs, sysCodes)); return execute(d07cBean, () -> d07cBean.read(orgs, sysCodes, dates));
} }
@Override @Override
@ -199,8 +199,8 @@ public class LntrisDServiceBean extends ScheduledServiceBean implements LntrisDS
} }
@Override @Override
public List<LntrisD07d> readD07ds(String[] orgs, String... sysCodes) { public List<LntrisD07d> readD07ds(String[] orgs, String[] sysCodes, String... dates) {
return execute(d07dBean, () -> d07dBean.read(orgs, sysCodes)); return execute(d07dBean, () -> d07dBean.read(orgs, sysCodes, dates));
} }
@Override @Override
@ -214,8 +214,8 @@ public class LntrisDServiceBean extends ScheduledServiceBean implements LntrisDS
} }
@Override @Override
public List<LntrisD07e> readD07es(String[] orgs, String... sysCodes) { public List<LntrisD07e> readD07es(String[] orgs, String[] sysCodes, String... dates) {
return execute(d07eBean, () -> d07eBean.read(orgs, sysCodes)); return execute(d07eBean, () -> d07eBean.read(orgs, sysCodes, dates));
} }
@Override @Override

@ -319,9 +319,10 @@ public class LntrisDController extends AbstractController {
@Operation(summary = "전일자 변동 부과체납 정보 등록", tags = "d07a") @Operation(summary = "전일자 변동 부과체납 정보 등록", tags = "d07a")
public void readD07a( public void readD07a(
@Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs, @Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs,
@Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes @Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes,
@Parameter(description = "날짜") @RequestParam(value = "dates", required=false) String... dates
) { ) {
lntrisDService.readD07as(orgs, sysCodes); lntrisDService.readD07as(orgs, sysCodes, dates);
} }
/** . /** .
@ -368,9 +369,10 @@ public class LntrisDController extends AbstractController {
@Operation(summary = "전일자 변동 수납정보 등록", tags = "d07b") @Operation(summary = "전일자 변동 수납정보 등록", tags = "d07b")
public void readD07b( public void readD07b(
@Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs, @Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs,
@Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes @Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes,
@Parameter(description = "날짜") @RequestParam(value = "dates", required=false) String... dates
) { ) {
lntrisDService.readD07bs(orgs, sysCodes); lntrisDService.readD07bs(orgs, sysCodes, dates);
} }
/** . /** .
@ -417,9 +419,10 @@ public class LntrisDController extends AbstractController {
@Operation(summary = "전일자 변동 감액정보 등록", tags = "d07c") @Operation(summary = "전일자 변동 감액정보 등록", tags = "d07c")
public void readD07c( public void readD07c(
@Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs, @Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs,
@Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes @Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes,
@Parameter(description = "날짜") @RequestParam(value = "dates", required=false) String... dates
) { ) {
lntrisDService.readD07cs(orgs, sysCodes); lntrisDService.readD07cs(orgs, sysCodes, dates);
} }
/** . /** .
@ -466,9 +469,10 @@ public class LntrisDController extends AbstractController {
@Operation(summary = "전일자 변동 과오납 정보 등록", tags = "d07d") @Operation(summary = "전일자 변동 과오납 정보 등록", tags = "d07d")
public void readD07d( public void readD07d(
@Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs, @Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs,
@Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes @Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes,
@Parameter(description = "날짜") @RequestParam(value = "dates", required=false) String... dates
) { ) {
lntrisDService.readD07ds(orgs, sysCodes); lntrisDService.readD07ds(orgs, sysCodes, dates);
} }
/** . /** .
@ -515,9 +519,10 @@ public class LntrisDController extends AbstractController {
@Operation(summary = "전일자 변동 결손정보 등록", tags = "d07e") @Operation(summary = "전일자 변동 결손정보 등록", tags = "d07e")
public void readD07e( public void readD07e(
@Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs, @Parameter(description = "단체/기관 코드") @RequestParam(value = "orgs", required=false) String[] orgs,
@Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes @Parameter(description = "시스템 코드") @RequestParam(value = "sysCodes", required=false) String[] sysCodes,
@Parameter(description = "날짜") @RequestParam(value = "dates", required=false) String... dates
) { ) {
lntrisDService.readD07es(orgs, sysCodes); lntrisDService.readD07es(orgs, sysCodes, dates);
} }
/** . /** .

@ -15,7 +15,9 @@
"defaults": { "defaults": {
"charset": "euc-kr", "charset": "euc-kr",
"fetchSize": 100, "fetchSize": 100,
"workSize": 100 "workSize": 100,
"receiptDates": -4, /* 처리전문 수신일수(0: 당일 전문, -n: 당일부터 n일전까지 전문, 지정하지 않으면 폴더의 모든 전문) */
"receiptCount": 1 /* 수신파일 처리건수(n > 0: n건, n < 1: 모든 파일) */
}, },
"jobs": [ "jobs": [

@ -4,8 +4,10 @@
"locals": [ "locals": [
{"organization": "4060000",/* 지역 자치단체 코드(7자리) */ {"organization": "4060000",/* 지역 자치단체 코드(7자리) */
/* 지역 시스템 코드(3자리) */ "systems": ["DPV"] /* 지역 시스템 코드(3자리) */
"systems": ["DPV"] },
{"organization": "4060000",/* 지역 자치단체 코드(7자리) */
"systems": ["PVS"] /* 지역 시스템 코드(3자리) */
} }
], ],

@ -206,8 +206,7 @@
<insert id="insertA01" parameterType="map">/* 과태료 대장 단속 정보 등록(lntrisAMapper.insertA01) */ <insert id="insertA01" parameterType="map">/* 과태료 대장 단속 정보 등록(lntrisAMapper.insertA01) */
<selectKey keyProperty="a01.a01Id" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="a01.a01Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(A01_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(A01_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_A01 A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_A01 A ON A01_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE A01_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_A01 ( INSERT INTO TB_NIS_INDIV_A01 (
A01_ID <!-- 일련번호 ID --> A01_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무(시스템) 코드 --> , TASK_SE_CD <!-- 업무(시스템) 코드 -->
@ -655,8 +654,7 @@ INSERT INTO TB_NIS_INDIV_A01 (
<insert id="insertA02" parameterType="map">/* 과태료 대장 전일자 변동자료 등록(lntrisAMapper.insertA02) */ <insert id="insertA02" parameterType="map">/* 과태료 대장 전일자 변동자료 등록(lntrisAMapper.insertA02) */
<selectKey keyProperty="a02.a02Id" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="a02.a02Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(A02_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(A02_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_A02 A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_A02 A ON A02_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE A02_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_A02 ( INSERT INTO TB_NIS_INDIV_A02 (
A02_ID <!-- 일련번호 ID --> A02_ID <!-- 일련번호 ID -->
, LINK_YMD <!-- 연계 일자 --> , LINK_YMD <!-- 연계 일자 -->
@ -1146,8 +1144,7 @@ UPDATE TB_NIS_INDIV_A02
<insert id="insertA03" parameterType="map">/* 과태료 대장 상세 조회 결과 등록(lntrisAMapper.insertA03) */ <insert id="insertA03" parameterType="map">/* 과태료 대장 상세 조회 결과 등록(lntrisAMapper.insertA03) */
<selectKey keyProperty="a03.a03Id" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="a03.a03Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(A03_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(A03_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_A03 A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_A03 A ON A03_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE A03_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_A03 ( INSERT INTO TB_NIS_INDIV_A03 (
A03_ID <!-- 일련번호 ID --> A03_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무(시스템) 코드 --> , TASK_SE_CD <!-- 업무(시스템) 코드 -->

@ -200,8 +200,7 @@
<insert id="insertD01" parameterType="map">/* 부과정보 등록(lntrisDMapper.insertD01) */ <insert id="insertD01" parameterType="map">/* 부과정보 등록(lntrisDMapper.insertD01) */
<selectKey keyProperty="d01.d01Id" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d01.d01Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D01_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D01_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D01 A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D01 A ON D01_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D01_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D01 ( INSERT INTO TB_NIS_INDIV_D01 (
D01_ID <!-- 일련번호 ID --> D01_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무(시스템) 코드 --> , TASK_SE_CD <!-- 업무(시스템) 코드 -->
@ -611,8 +610,7 @@ INSERT INTO TB_NIS_INDIV_D01 (
<insert id="insertD02" parameterType="map">/* 부과_수납정보 등록(lntrisDMapper.insertD02) */ <insert id="insertD02" parameterType="map">/* 부과_수납정보 등록(lntrisDMapper.insertD02) */
<selectKey keyProperty="d02.d02Id" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d02.d02Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D02_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D02_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D02 A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D02 A ON D02_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D02_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D02 ( INSERT INTO TB_NIS_INDIV_D02 (
D02_ID <!-- 일련번호 ID --> D02_ID <!-- 일련번호 ID -->
, TASK_SE_CD <!-- 업무(시스템) 코드 --> , TASK_SE_CD <!-- 업무(시스템) 코드 -->
@ -979,8 +977,7 @@ INSERT INTO TB_NIS_INDIV_D02 (
<insert id="insertD03" parameterType="map">/* 부과결과정보 등록(lntrisDMapper.insertD03) */ <insert id="insertD03" parameterType="map">/* 부과결과정보 등록(lntrisDMapper.insertD03) */
<selectKey keyProperty="d03.d03Id" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d03.d03Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D03_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D03_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D03 A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D03 A ON D03_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D03_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D03 ( INSERT INTO TB_NIS_INDIV_D03 (
D03_ID <!-- 일련번호 ID --> D03_ID <!-- 일련번호 ID -->
, SGB_CD <!-- 자치단체코드 --> , SGB_CD <!-- 자치단체코드 -->
@ -1189,8 +1186,7 @@ UPDATE TB_NIS_INDIV_D03
<insert id="insertD04" parameterType="map">/* 부과취소정보 등록(lntrisDMapper.insertD04) */ <insert id="insertD04" parameterType="map">/* 부과취소정보 등록(lntrisDMapper.insertD04) */
<selectKey keyProperty="d04.d04Id" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d04.d04Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D04_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D04_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D04 A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D04 A ON D04_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D04_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D04 ( INSERT INTO TB_NIS_INDIV_D04 (
D04_ID <!-- 일련번호 ID --> D04_ID <!-- 일련번호 ID -->
, SGB_CD <!-- 자치단체코드 --> , SGB_CD <!-- 자치단체코드 -->
@ -1355,8 +1351,7 @@ UPDATE TB_NIS_INDIV_D04
<insert id="insertD05" parameterType="map">/* 수납정보 등록(lntrisDMapper.insertD05) */ <insert id="insertD05" parameterType="map">/* 수납정보 등록(lntrisDMapper.insertD05) */
<selectKey keyProperty="d05.d05Id" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d05.d05Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D05_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D05_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D05 A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D05 A ON D05_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D05_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D05 ( INSERT INTO TB_NIS_INDIV_D05 (
D05_ID <!-- 일련번호 ID --> D05_ID <!-- 일련번호 ID -->
, SGB_CD <!-- 자치단체코드 --> , SGB_CD <!-- 자치단체코드 -->
@ -1559,8 +1554,7 @@ UPDATE TB_NIS_INDIV_D05
<insert id="insertD06" parameterType="map">/* 감액정보 등록(lntrisDMapper.insertD06) */ <insert id="insertD06" parameterType="map">/* 감액정보 등록(lntrisDMapper.insertD06) */
<selectKey keyProperty="d06.d06Id" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d06.d06Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D06_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D06_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D06 A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D06 A ON D06_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D06_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D06 ( INSERT INTO TB_NIS_INDIV_D06 (
D06_ID <!-- 일련번호 ID --> D06_ID <!-- 일련번호 ID -->
, SGB_CD <!-- 자치단체코드 --> , SGB_CD <!-- 자치단체코드 -->

@ -263,8 +263,7 @@
<insert id="insertD07a" parameterType="map">/* 부과체납정보 등록(lntrisD07Mapper.insertD07a) */ <insert id="insertD07a" parameterType="map">/* 부과체납정보 등록(lntrisD07Mapper.insertD07a) */
<selectKey keyProperty="d07a.d07aId" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d07a.d07aId" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07A_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07A_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D07A A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D07A A ON D07A_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D07A_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D07A ( INSERT INTO TB_NIS_INDIV_D07A (
D07A_ID <!-- 일련번호 ID --> D07A_ID <!-- 일련번호 ID -->
, CRTR_YMD <!-- 기준일자 --> , CRTR_YMD <!-- 기준일자 -->
@ -628,8 +627,7 @@ UPDATE TB_NIS_INDIV_D07A
<insert id="insertD07b" parameterType="map">/* 수납정보 등록(lntrisD07Mapper.insertD07b) */ <insert id="insertD07b" parameterType="map">/* 수납정보 등록(lntrisD07Mapper.insertD07b) */
<selectKey keyProperty="d07b.d07bId" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d07b.d07bId" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07B_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07B_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D07B A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D07B A ON D07B_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D07B_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D07B ( INSERT INTO TB_NIS_INDIV_D07B (
D07B_ID <!-- 일련번호 ID --> D07B_ID <!-- 일련번호 ID -->
, CRTR_YMD <!-- 기준일자 --> , CRTR_YMD <!-- 기준일자 -->
@ -833,8 +831,7 @@ UPDATE TB_NIS_INDIV_D07B
<insert id="insertD07c" parameterType="map">/* 감액정보 등록(lntrisD07Mapper.insertD07c) */ <insert id="insertD07c" parameterType="map">/* 감액정보 등록(lntrisD07Mapper.insertD07c) */
<selectKey keyProperty="d07c.d07cId" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d07c.d07cId" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07C_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07C_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D07C A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D07C A ON D07C_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D07C_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D07C ( INSERT INTO TB_NIS_INDIV_D07C (
D07C_ID <!-- 일련번호 ID --> D07C_ID <!-- 일련번호 ID -->
, CRTR_YMD <!-- 기준일자 --> , CRTR_YMD <!-- 기준일자 -->
@ -1032,8 +1029,7 @@ UPDATE TB_NIS_INDIV_D07C
<insert id="insertD07d" parameterType="map">/* 과오납정보 등록(lntrisD07Mapper.insertD07d) */ <insert id="insertD07d" parameterType="map">/* 과오납정보 등록(lntrisD07Mapper.insertD07d) */
<selectKey keyProperty="d07d.d07dId" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d07d.d07dId" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07D_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07D_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D07D A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D07D A ON D07D_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D07D_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D07D ( INSERT INTO TB_NIS_INDIV_D07D (
D07D_ID <!-- 일련번호 ID --> D07D_ID <!-- 일련번호 ID -->
, CRTR_YMD <!-- 기준일자 --> , CRTR_YMD <!-- 기준일자 -->
@ -1247,8 +1243,7 @@ UPDATE TB_NIS_INDIV_D07D
<insert id="insertD07e" parameterType="map">/* 결손정보 등록(lntrisD07Mapper.insertD07e) */ <insert id="insertD07e" parameterType="map">/* 결손정보 등록(lntrisD07Mapper.insertD07e) */
<selectKey keyProperty="d07e.d07eId" keyColumn="NEW_ID" resultType="string" order="BEFORE"> <selectKey keyProperty="d07e.d07eId" keyColumn="NEW_ID" resultType="string" order="BEFORE">
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07E_ID), 9) + 1, 1), 22, '0')) NEW_ID SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(D07E_ID), 9) + 1, 1), 22, '0')) NEW_ID
FROM TB_NIS_INDIV_D07E A, (<include refid="utility.selectToday" />) B FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D07E A ON D07E_ID LIKE CONCAT(TODAY, '%')</selectKey>
WHERE D07E_ID LIKE CONCAT(TODAY, '%')</selectKey>
INSERT INTO TB_NIS_INDIV_D07E ( INSERT INTO TB_NIS_INDIV_D07E (
D07E_ID <!-- 일련번호 ID --> D07E_ID <!-- 일련번호 ID -->
, CRTR_YMD <!-- 기준일자 --> , CRTR_YMD <!-- 기준일자 -->

@ -50,7 +50,7 @@ public class LntrisAServiceTest extends TestSupport {
@Test @Test
void a02Read() { void a02Read() {
lntrisAService.readA02s(null); lntrisAService.readA02s(null, null, "20230922");
} }
@Test @Test

@ -42,7 +42,7 @@ public class LntrisDServiceTest extends TestSupport {
@Test @Test
void d07a() { void d07a() {
List<LntrisD07a> d07as = dService.readD07as(null); List<LntrisD07a> d07as = dService.readD07as(null, null);
if (d07as.isEmpty()) return; if (d07as.isEmpty()) return;
String d07aIds = d07as.stream() String d07aIds = d07as.stream()
@ -54,7 +54,7 @@ public class LntrisDServiceTest extends TestSupport {
@Test @Test
void d07b() { void d07b() {
List<LntrisD07b> d07bs = dService.readD07bs(null); List<LntrisD07b> d07bs = dService.readD07bs(null, null);
if (d07bs.isEmpty()) return; if (d07bs.isEmpty()) return;
String d07bIds = d07bs.stream() String d07bIds = d07bs.stream()
@ -65,7 +65,7 @@ public class LntrisDServiceTest extends TestSupport {
@Test @Test
void d07c() { void d07c() {
List<LntrisD07c> d07cs = dService.readD07cs(null); List<LntrisD07c> d07cs = dService.readD07cs(null, null);
if (d07cs.isEmpty()) return; if (d07cs.isEmpty()) return;
String d07cIds = d07cs.stream() String d07cIds = d07cs.stream()
@ -76,7 +76,7 @@ public class LntrisDServiceTest extends TestSupport {
@Test @Test
void d07d() { void d07d() {
List<LntrisD07d> d07ds = dService.readD07ds(null); List<LntrisD07d> d07ds = dService.readD07ds(null, null);
if (d07ds.isEmpty()) return; if (d07ds.isEmpty()) return;
String d07dIds = d07ds.stream() String d07dIds = d07ds.stream()
@ -88,7 +88,7 @@ public class LntrisDServiceTest extends TestSupport {
@Test @Test
void d07e() { void d07e() {
List<LntrisD07e> d07es = dService.readD07es(null); List<LntrisD07e> d07es = dService.readD07es(null, null);
if (d07es.isEmpty()) return; if (d07es.isEmpty()) return;
String d07eIds = d07es.stream() String d07eIds = d07es.stream()

@ -15,9 +15,9 @@
<property name="username" value="xit_traffic"/> <property name="username" value="xit_traffic"/>
<property name="password" value="traffic5"/> <property name="password" value="traffic5"/>
--> -->
<property name="url" value="jdbc:log4jdbc:mariadb://211.119.124.9:4407/platform?useUnicode=true&amp;characterEncoding=utf8&amp;serverTimezone=Asia/Seoul&amp;useSSL=false" /> <property name="url" value="jdbc:log4jdbc:mariadb://211.119.124.9:4407/fims?useUnicode=true&amp;characterEncoding=utf8&amp;serverTimezone=Asia/Seoul&amp;useSSL=false" />
<property name="username" value="fimsweb"/> <property name="username" value="fimsweb"/>
<property name="password" value="fimsweb!@"/> <property name="password" value="xit581!*)&amp;"/>
</bean> </bean>
<bean id="databaseIdProvider" class="org.apache.ibatis.mapping.VendorDatabaseIdProvider"> <bean id="databaseIdProvider" class="org.apache.ibatis.mapping.VendorDatabaseIdProvider">

Loading…
Cancel
Save