|
|
@ -199,7 +199,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(IFNULL(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 TB_NIS_INDIV_D01 A, (<include refid="utility.selectToday" />) B
|
|
|
|
WHERE 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 (
|
|
|
@ -601,7 +601,7 @@ UPDATE TB_NIS_INDIV_D01 A
|
|
|
|
|
|
|
|
|
|
|
|
<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(IFNULL(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 TB_NIS_INDIV_D02 A, (<include refid="utility.selectToday" />) B
|
|
|
|
WHERE 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 (
|
|
|
@ -961,7 +961,7 @@ UPDATE TB_NIS_INDIV_D02 A
|
|
|
|
|
|
|
|
|
|
|
|
<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(IFNULL(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 TB_NIS_INDIV_D03 A, (<include refid="utility.selectToday" />) B
|
|
|
|
WHERE 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 (
|
|
|
@ -1171,7 +1171,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(IFNULL(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 TB_NIS_INDIV_D04 A, (<include refid="utility.selectToday" />) B
|
|
|
|
WHERE 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 (
|
|
|
@ -1337,7 +1337,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(IFNULL(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 TB_NIS_INDIV_D05 A, (<include refid="utility.selectToday" />) B
|
|
|
|
WHERE 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 (
|
|
|
@ -1541,7 +1541,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(IFNULL(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 TB_NIS_INDIV_D06 A, (<include refid="utility.selectToday" />) B
|
|
|
|
WHERE 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 (
|
|
|
|