|
|
|
|
@ -118,6 +118,11 @@
|
|
|
|
|
AND DEL_YN = 'N'
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
<!-- 신규 위치정보 ID -->
|
|
|
|
|
<select id="selectNextPstnInfoId" resultType="string">
|
|
|
|
|
/* CrdnRelevyMapper.selectNextPstnInfoId : 신규 위치정보 ID */
|
|
|
|
|
SELECT LPAD(NEXTVAL(seq_pstn_info_id), 10, '0')
|
|
|
|
|
</select>
|
|
|
|
|
<!-- 위치 정보 복사 -->
|
|
|
|
|
<insert id="insertCrdnPstnInfo" parameterType="CrdnRelevyVO">
|
|
|
|
|
/* CrdnRelevyMapper.insertCrdnPstnInfo : 위치 정보 복사 */
|
|
|
|
|
@ -151,7 +156,7 @@
|
|
|
|
|
DEL_YN
|
|
|
|
|
)
|
|
|
|
|
SELECT
|
|
|
|
|
LPAD(NEXTVAL(seq_pstn_info_id), 10, '0'),
|
|
|
|
|
#{pstnInfoId},
|
|
|
|
|
#{newCrdnYr},
|
|
|
|
|
#{newCrdnNo},
|
|
|
|
|
SGG_CD,
|
|
|
|
|
@ -203,7 +208,7 @@
|
|
|
|
|
SGG_CD,
|
|
|
|
|
#{newCrdnYr},
|
|
|
|
|
#{newCrdnNo},
|
|
|
|
|
PSTN_INFO_ID,
|
|
|
|
|
#{pstnInfoId},
|
|
|
|
|
OWNR_ID,
|
|
|
|
|
NOW(),
|
|
|
|
|
#{rgtr},
|
|
|
|
|
@ -214,6 +219,11 @@
|
|
|
|
|
AND DEL_YN = 'N'
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
<!-- 불법행위 정보 ID -->
|
|
|
|
|
<select id="selectNextActInfoId" resultType="string">
|
|
|
|
|
/* CrdnRelevyMapper.selectNextActInfoId : 불법행위 정보 ID */
|
|
|
|
|
SELECT LPAD(NEXTVAL(seq_act_info_id), 10, '0')
|
|
|
|
|
</select>
|
|
|
|
|
<!-- 불법행위 정보 복사 (조치완료 제외) -->
|
|
|
|
|
<insert id="insertCrdnActInfo" parameterType="CrdnRelevyVO">
|
|
|
|
|
/* CrdnRelevyMapper.insertCrdnActInfo : 불법행위 정보 복사 (조치완료 제외) */
|
|
|
|
|
@ -247,7 +257,7 @@
|
|
|
|
|
SGG_CD,
|
|
|
|
|
#{newCrdnYr},
|
|
|
|
|
#{newCrdnNo},
|
|
|
|
|
PSTN_INFO_ID,
|
|
|
|
|
#{pstnInfoId},
|
|
|
|
|
ACT_BGNG_YMD,
|
|
|
|
|
ACT_TYPE_CD,
|
|
|
|
|
ACT_NO,
|
|
|
|
|
@ -403,6 +413,7 @@
|
|
|
|
|
WHERE CRDN_YR = #{newCrdnYr}
|
|
|
|
|
AND CRDN_NO = #{newCrdnNo}
|
|
|
|
|
AND CRDN_PHOTO_SN = #{crdnPhotoSn}
|
|
|
|
|
AND ACT_INFO_ID = #{actInfoId}
|
|
|
|
|
AND DEL_YN = 'N'
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|