|
|
@ -60,7 +60,7 @@
|
|
|
|
<insert id="insertEcExtrlRegltCntc">
|
|
|
|
<insert id="insertEcExtrlRegltCntc">
|
|
|
|
/* ec-extrl-reglt-cntc-mysql-mapper|insertEcExtrlRegltCntc-외부연계 정보 등록|julim */
|
|
|
|
/* ec-extrl-reglt-cntc-mysql-mapper|insertEcExtrlRegltCntc-외부연계 정보 등록|julim */
|
|
|
|
<selectKey keyColumn="fileLinkId" keyProperty="fileLinkId" resultType="kr.xit.fims.biz.ec.CctvCrackdownDTO$ExtrlRegltCntc" order="BEFORE">
|
|
|
|
<selectKey keyColumn="fileLinkId" keyProperty="fileLinkId" resultType="kr.xit.fims.biz.ec.CctvCrackdownDTO$ExtrlRegltCntc" order="BEFORE">
|
|
|
|
SELECT LPAD(IFNULL(MAX(CAST(file_link_id AS UNSIGNED))+1, 1), 12, '0') AS fileLinkId
|
|
|
|
SELECT LPAD(IFNULL(MAX(CAST(file_link_id AS UNSIGNED))+1, 1), 30, '0') AS fileLinkId
|
|
|
|
FROM tb_crdn_file_link
|
|
|
|
FROM tb_crdn_file_link
|
|
|
|
</selectKey>
|
|
|
|
</selectKey>
|
|
|
|
INSERT
|
|
|
|
INSERT
|
|
|
|