|
|
|
@ -253,7 +253,8 @@
|
|
|
|
|
<insert id="insertRtRtpyr">
|
|
|
|
|
/* rt-reglt-and-erpp-mysql-mapper|insertRtRtpyr-납부자 정보 등록|julim */
|
|
|
|
|
<selectKey resultType="string" keyProperty="rtpyrId" order="BEFORE">
|
|
|
|
|
SELECT LPAD(NEXTVAL(seq_rt_payer), 12, '0')
|
|
|
|
|
SELECT LPAD(IFNULL(MAX(CAST(rtpyr_id AS UNSIGNED))+1, 1), 20, '0') AS rtpyrId
|
|
|
|
|
FROM tb_payer
|
|
|
|
|
</selectKey>
|
|
|
|
|
INSERT
|
|
|
|
|
INTO tb_payer (
|
|
|
|
@ -339,6 +340,10 @@
|
|
|
|
|
|
|
|
|
|
<insert id="saveRtRtpyr">
|
|
|
|
|
/* rt-reglt-and-erpp-mysql-mapper|saveRtRtpyr-납부자 정보 등록 / 변경|julim */
|
|
|
|
|
<selectKey resultType="string" keyProperty="rtpyrId" order="BEFORE">
|
|
|
|
|
SELECT LPAD(IFNULL(MAX(CAST(rtpyr_id AS UNSIGNED))+1, 1), 20, '0') AS rtpyrId
|
|
|
|
|
FROM tb_payer
|
|
|
|
|
</selectKey>
|
|
|
|
|
INSERT
|
|
|
|
|
INTO tb_payer (
|
|
|
|
|
rtpyr_id
|
|
|
|
@ -372,7 +377,7 @@
|
|
|
|
|
, reg_dt
|
|
|
|
|
, rgtr
|
|
|
|
|
) VALUES (
|
|
|
|
|
LPAD(NEXTVAL(seq_rt_payer), 12, '0')
|
|
|
|
|
#{rtpyrId}
|
|
|
|
|
, #{sggCd}
|
|
|
|
|
, #{sysSeCd}
|
|
|
|
|
, #{rtpyrSeCd}
|
|
|
|
|