@ -317,7 +317,8 @@
<insert id="insertCtznSttemntCmplt">
/* cmm-fims-crackdown-mysql-mapper|insertCtznSttemntCmplt-민원등록|julim */
<selectKey resultType="string" keyProperty="cmpltId" order="BEFORE">
SELECT LPAD(NEXTVAL(seq_ec_ctzn_sttemnt_cmplt), 12, '0')
SELECT LPAD(IFNULL(MAX(CAST(cmplt_id AS UNSIGNED))+1, 1), 12, '0') AS cmpltId
FROM tb_ec_ctzn_sttemnt_cmplt
</selectKey>
INSERT
INTO tb_ec_ctzn_sttemnt_cmplt (