|
|
|
@ -200,8 +200,7 @@
|
|
|
|
|
<insert id="insertD01" parameterType="map">/* 부과정보 등록(lntrisDMapper.insertD01) */
|
|
|
|
|
<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
|
|
|
|
|
FROM TB_NIS_INDIV_D01 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE D01_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D01 A ON D01_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_INDIV_D01 (
|
|
|
|
|
D01_ID <!-- 일련번호 ID -->
|
|
|
|
|
, TASK_SE_CD <!-- 업무(시스템) 코드 -->
|
|
|
|
@ -611,8 +610,7 @@ INSERT INTO TB_NIS_INDIV_D01 (
|
|
|
|
|
<insert id="insertD02" parameterType="map">/* 부과_수납정보 등록(lntrisDMapper.insertD02) */
|
|
|
|
|
<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
|
|
|
|
|
FROM TB_NIS_INDIV_D02 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE D02_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D02 A ON D02_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_INDIV_D02 (
|
|
|
|
|
D02_ID <!-- 일련번호 ID -->
|
|
|
|
|
, TASK_SE_CD <!-- 업무(시스템) 코드 -->
|
|
|
|
@ -979,8 +977,7 @@ INSERT INTO TB_NIS_INDIV_D02 (
|
|
|
|
|
<insert id="insertD03" parameterType="map">/* 부과결과정보 등록(lntrisDMapper.insertD03) */
|
|
|
|
|
<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
|
|
|
|
|
FROM TB_NIS_INDIV_D03 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE D03_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D03 A ON D03_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_INDIV_D03 (
|
|
|
|
|
D03_ID <!-- 일련번호 ID -->
|
|
|
|
|
, SGB_CD <!-- 자치단체코드 -->
|
|
|
|
@ -1189,8 +1186,7 @@ UPDATE TB_NIS_INDIV_D03
|
|
|
|
|
<insert id="insertD04" parameterType="map">/* 부과취소정보 등록(lntrisDMapper.insertD04) */
|
|
|
|
|
<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
|
|
|
|
|
FROM TB_NIS_INDIV_D04 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE D04_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D04 A ON D04_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_INDIV_D04 (
|
|
|
|
|
D04_ID <!-- 일련번호 ID -->
|
|
|
|
|
, SGB_CD <!-- 자치단체코드 -->
|
|
|
|
@ -1355,8 +1351,7 @@ UPDATE TB_NIS_INDIV_D04
|
|
|
|
|
<insert id="insertD05" parameterType="map">/* 수납정보 등록(lntrisDMapper.insertD05) */
|
|
|
|
|
<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
|
|
|
|
|
FROM TB_NIS_INDIV_D05 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE D05_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D05 A ON D05_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_INDIV_D05 (
|
|
|
|
|
D05_ID <!-- 일련번호 ID -->
|
|
|
|
|
, SGB_CD <!-- 자치단체코드 -->
|
|
|
|
@ -1559,8 +1554,7 @@ UPDATE TB_NIS_INDIV_D05
|
|
|
|
|
<insert id="insertD06" parameterType="map">/* 감액정보 등록(lntrisDMapper.insertD06) */
|
|
|
|
|
<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
|
|
|
|
|
FROM TB_NIS_INDIV_D06 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE D06_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_INDIV_D06 A ON D06_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_INDIV_D06 (
|
|
|
|
|
D06_ID <!-- 일련번호 ID -->
|
|
|
|
|
, SGB_CD <!-- 자치단체코드 -->
|
|
|
|
|