|
|
@ -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 <!-- 자치단체코드 -->
|
|
|
|