|
|
|
@ -216,13 +216,13 @@
|
|
|
|
|
SELECT rtpyr_id
|
|
|
|
|
, instt_code
|
|
|
|
|
, sys_se_cd
|
|
|
|
|
, rtpyr_se_code
|
|
|
|
|
, rtpyr_se_cd
|
|
|
|
|
, rtpyr_no
|
|
|
|
|
, rtpyr_nm
|
|
|
|
|
, rtpyr_cttpc
|
|
|
|
|
, rtpyr_cttpc_se_code
|
|
|
|
|
, rtpyr_email_adres
|
|
|
|
|
, rtpyr_sttus_code
|
|
|
|
|
, rtpyr_cttpc_se_cd
|
|
|
|
|
, rtpyr_eml
|
|
|
|
|
, rtpyr_stts_cd
|
|
|
|
|
, lnm_road_adres_se_code
|
|
|
|
|
, zip
|
|
|
|
|
, rn_code
|
|
|
|
@ -240,7 +240,7 @@
|
|
|
|
|
, adres
|
|
|
|
|
, detail_adres
|
|
|
|
|
, all_adres
|
|
|
|
|
, rtpyr_regist_se_code
|
|
|
|
|
, rtpyr_input_se_cd
|
|
|
|
|
, reg_dt
|
|
|
|
|
, rgtr
|
|
|
|
|
, mdfcn_dt
|
|
|
|
@ -259,13 +259,13 @@
|
|
|
|
|
rtpyr_id
|
|
|
|
|
, instt_code
|
|
|
|
|
, sys_se_cd
|
|
|
|
|
, rtpyr_se_code
|
|
|
|
|
, rtpyr_se_cd
|
|
|
|
|
, rtpyr_no
|
|
|
|
|
, rtpyr_nm
|
|
|
|
|
, rtpyr_cttpc
|
|
|
|
|
, rtpyr_cttpc_se_code
|
|
|
|
|
, rtpyr_email_adres
|
|
|
|
|
, rtpyr_sttus_code
|
|
|
|
|
, rtpyr_cttpc_se_cd
|
|
|
|
|
, rtpyr_eml
|
|
|
|
|
, rtpyr_stts_cd
|
|
|
|
|
, lnm_road_adres_se_code
|
|
|
|
|
, zip
|
|
|
|
|
, rn_code
|
|
|
|
@ -283,20 +283,20 @@
|
|
|
|
|
, adres
|
|
|
|
|
, detail_adres
|
|
|
|
|
, all_adres
|
|
|
|
|
, rtpyr_regist_se_code
|
|
|
|
|
, rtpyr_input_se_cd
|
|
|
|
|
, reg_dt
|
|
|
|
|
, rgtr
|
|
|
|
|
) VALUES (
|
|
|
|
|
#{rtpyrId}
|
|
|
|
|
, #{insttCode}
|
|
|
|
|
, #{sysSeCd}
|
|
|
|
|
, #{rtpyrSeCode}
|
|
|
|
|
, #{rtpyrSeCd}
|
|
|
|
|
, #{rtpyrNo}
|
|
|
|
|
, #{rtpyrNm}
|
|
|
|
|
, #{rtpyrCttpc}
|
|
|
|
|
, #{rtpyrCttpcSeCode}
|
|
|
|
|
, #{rtpyrEmailAdres}
|
|
|
|
|
, #{rtpyrSttusCode}
|
|
|
|
|
, #{rtpyrCttpcSeCd}
|
|
|
|
|
, #{rtpyrEml}
|
|
|
|
|
, #{rtpyrSttsCd}
|
|
|
|
|
, #{lnmRoadAdresSeCode}
|
|
|
|
|
, #{zip}
|
|
|
|
|
, #{rnCode}
|
|
|
|
@ -314,7 +314,7 @@
|
|
|
|
|
, #{adres}
|
|
|
|
|
, #{detailAdres}
|
|
|
|
|
, #{allAdres}
|
|
|
|
|
, #{rtpyrRegistSeCode}
|
|
|
|
|
, #{rtpyrInputSeCd}
|
|
|
|
|
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
|
, #{rgtr}
|
|
|
|
|
)
|
|
|
|
@ -323,7 +323,7 @@
|
|
|
|
|
<update id="updateRtRtpyr">
|
|
|
|
|
/* rt-reglt-and-erpp-mysql-mapper|updateRtRtpyr-납부자 정보 변경|julim */
|
|
|
|
|
UPDATE tb_rt_payer
|
|
|
|
|
SET rtpyr_se_code = IF(rtpyr_se_code = #{rtpyrSeCode}, rtpyr_se_code, #{rtpyrSeCode})
|
|
|
|
|
SET rtpyr_se_cd = IF(rtpyr_se_cd = #{rtpyrSeCd}, rtpyr_se_cd, #{rtpyrSeCd})
|
|
|
|
|
, rtpyr_no = IF(rtpyr_no = #{rtpyrNo}, rtpyr_no, #{rtpyrNo})
|
|
|
|
|
, rtpyr_nm = IF(rtpyr_nm = #{rtpyrNm}, rtpyr_nm, #{rtpyrNm})
|
|
|
|
|
, rtpyr_cttpc = IF(rtpyr_cttpc = #{rtpyrCttpc}, rtpyr_cttpc, #{rtpyrCttpc})
|
|
|
|
@ -343,13 +343,13 @@
|
|
|
|
|
rtpyr_id
|
|
|
|
|
, instt_code
|
|
|
|
|
, sys_se_cd
|
|
|
|
|
, rtpyr_se_code
|
|
|
|
|
, rtpyr_se_cd
|
|
|
|
|
, rtpyr_no
|
|
|
|
|
, rtpyr_nm
|
|
|
|
|
, rtpyr_cttpc
|
|
|
|
|
, rtpyr_cttpc_se_code
|
|
|
|
|
, rtpyr_email_adres
|
|
|
|
|
, rtpyr_sttus_code
|
|
|
|
|
, rtpyr_cttpc_se_cd
|
|
|
|
|
, rtpyr_eml
|
|
|
|
|
, rtpyr_stts_cd
|
|
|
|
|
, lnm_road_adres_se_code
|
|
|
|
|
, zip
|
|
|
|
|
, rn_code
|
|
|
|
@ -367,20 +367,20 @@
|
|
|
|
|
, adres
|
|
|
|
|
, detail_adres
|
|
|
|
|
, all_adres
|
|
|
|
|
, rtpyr_regist_se_code
|
|
|
|
|
, rtpyr_input_se_cd
|
|
|
|
|
, reg_dt
|
|
|
|
|
, rgtr
|
|
|
|
|
) VALUES (
|
|
|
|
|
LPAD(NEXTVAL(seq_rt_rtpyr), 12, '0')
|
|
|
|
|
, #{insttCode}
|
|
|
|
|
, #{sysSeCd}
|
|
|
|
|
, #{rtpyrSeCode}
|
|
|
|
|
, #{rtpyrSeCd}
|
|
|
|
|
, #{rtpyrNo}
|
|
|
|
|
, #{rtpyrNm}
|
|
|
|
|
, #{rtpyrCttpc}
|
|
|
|
|
, #{rtpyrCttpcSeCode}
|
|
|
|
|
, #{rtpyrEmailAdres}
|
|
|
|
|
, #{rtpyrSttusCode}
|
|
|
|
|
, #{rtpyrCttpcSeCd}
|
|
|
|
|
, #{rtpyrEml}
|
|
|
|
|
, #{rtpyrSttsCd}
|
|
|
|
|
, #{lnmRoadAdresSeCode}
|
|
|
|
|
, #{zip}
|
|
|
|
|
, #{rnCode}
|
|
|
|
@ -398,12 +398,12 @@
|
|
|
|
|
, #{adres}
|
|
|
|
|
, #{detailAdres}
|
|
|
|
|
, #{allAdres}
|
|
|
|
|
, #{rtpyrRegistSeCode}
|
|
|
|
|
, #{rtpyrInputSeCd}
|
|
|
|
|
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
|
, #{rgtr}
|
|
|
|
|
)
|
|
|
|
|
ON DUPLICATE KEY
|
|
|
|
|
UPDATE rtpyr_se_code = IF(rtpyr_se_code = #{rtpyrSeCode}, rtpyr_se_code, #{rtpyrSeCode})
|
|
|
|
|
UPDATE rtpyr_se_cd = IF(rtpyr_se_cd = #{rtpyrSeCd}, rtpyr_se_cd, #{rtpyrSeCd})
|
|
|
|
|
, rtpyr_no = IF(rtpyr_no = #{rtpyrNo}, rtpyr_no, #{rtpyrNo})
|
|
|
|
|
, rtpyr_nm = IF(rtpyr_nm = #{rtpyrNm}, rtpyr_nm, #{rtpyrNm})
|
|
|
|
|
, rtpyr_cttpc = IF(rtpyr_cttpc = #{rtpyrCttpc}, rtpyr_cttpc, #{rtpyrCttpc})
|
|
|
|
|