|
|
|
@ -38,8 +38,7 @@
|
|
|
|
|
<insert id="insertB13Req" parameterType="map">/* 주정차위반 과태료 대장 목록 요청 등록(lntrisB13_16Mapper.insertB13Req) */
|
|
|
|
|
<selectKey keyProperty="b13.b13Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
|
|
|
|
|
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B13_ID), 9) + 1, 1), 22, '0')) NEW_ID
|
|
|
|
|
FROM TB_NIS_SPCL_B13 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE B13_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_SPCL_B13 A ON B13_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_SPCL_B13 (
|
|
|
|
|
B13_ID <!-- 일련번호 ID -->
|
|
|
|
|
, TASK_SE_CD <!-- 업무 구분 코드 -->
|
|
|
|
@ -304,8 +303,7 @@ SELECT #{resp.b13Id} <!-- 일련번호 ID -->
|
|
|
|
|
<insert id="insertB14Req" parameterType="map">/* 주정차위반 과태료 대장 상세 요청 등록(lntrisB13_16Mapper.insertB14Req) */
|
|
|
|
|
<selectKey keyProperty="b14.b14Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
|
|
|
|
|
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B14_ID), 9) + 1, 1), 22, '0')) NEW_ID
|
|
|
|
|
FROM TB_NIS_SPCL_B14 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE B14_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_SPCL_B14 A ON B14_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_SPCL_B14 (
|
|
|
|
|
B14_ID <!-- 일련번호 ID -->
|
|
|
|
|
, TASK_SE_CD <!-- 업무 구분 코드 -->
|
|
|
|
@ -823,8 +821,7 @@ INSERT INTO TB_NIS_SPCL_B14RV (
|
|
|
|
|
<insert id="insertB15Req" parameterType="map">/* 전용차로위반 과태료 대장 목록 요청 등록(lntrisB13_16Mapper.insertB15Req) */
|
|
|
|
|
<selectKey keyProperty="b15.b15Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
|
|
|
|
|
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B15_ID), 9) + 1, 1), 22, '0')) NEW_ID
|
|
|
|
|
FROM TB_NIS_SPCL_B15 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE B15_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_SPCL_B15 A ON B15_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_SPCL_B15 (
|
|
|
|
|
B15_ID <!-- 일련번호 ID -->
|
|
|
|
|
, TASK_SE_CD <!-- 업무 구분 코드 -->
|
|
|
|
@ -1084,8 +1081,7 @@ SELECT #{resp.b15Id} <!-- 일련번호 ID -->
|
|
|
|
|
<insert id="insertB16Req" parameterType="map">/* 전용차로위반 과태료 대장 상세 요청 등록(lntrisB13_16Mapper.insertB16Req) */
|
|
|
|
|
<selectKey keyProperty="b16.b16Id" keyColumn="NEW_ID" resultType="string" order="BEFORE">
|
|
|
|
|
SELECT CONCAT(TODAY, LPAD(NVL(SUBSTR(MAX(B16_ID), 9) + 1, 1), 22, '0')) NEW_ID
|
|
|
|
|
FROM TB_NIS_SPCL_B16 A, (<include refid="utility.selectToday" />) B
|
|
|
|
|
WHERE B16_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
FROM (<include refid="utility.selectToday" />) B LEFT OUTER JOIN TB_NIS_SPCL_B16 A ON B16_ID LIKE CONCAT(TODAY, '%')</selectKey>
|
|
|
|
|
INSERT INTO TB_NIS_SPCL_B16 (
|
|
|
|
|
B16_ID <!-- 일련번호 ID -->
|
|
|
|
|
, TASK_SE_CD <!-- 업무 구분 코드 -->
|
|
|
|
|