refactor : 납부자 컬럼 수정

main
이범준 2 years ago
parent e287709d24
commit 18df3c1c70

@ -273,7 +273,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String rtpyrSeCode; private String rtpyrSeCd;
/** /**
* *
*/ */
@ -289,15 +289,15 @@ public class RtDTO {
/** /**
* *
*/ */
private String rtpyrCttpcSeCode; private String rtpyrCttpcSeCd;
/** /**
* *
*/ */
private String rtpyrEmailAdres; private String rtpyrEml;
/** /**
* *
*/ */
private String rtpyrSttusCode; private String rtpyrSttsCd;
/** /**
* *
*/ */
@ -369,7 +369,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String rtpyrRegistSeCode; private String rtpyrInputSeCd;
/** /**
* : FIM026 - 10:, 20: * : FIM026 - 10:, 20:
*/ */
@ -499,7 +499,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String rtpyrSeCode; private String rtpyrSeCd;
/** /**
* *
*/ */
@ -515,15 +515,15 @@ public class RtDTO {
/** /**
* *
*/ */
private String rtpyrCttpcSeCode; private String rtpyrCttpcSeCd;
/** /**
* *
*/ */
private String rtpyrEmailAdres; private String rtpyrEml;
/** /**
* *
*/ */
private String rtpyrSttusCode; private String rtpyrSttsCd;
/** /**
* *
*/ */
@ -595,7 +595,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String rtpyrRegistSeCode; private String rtpyrInputSeCd;
/** /**
* *
*/ */

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

@ -39,7 +39,7 @@ Date Author Description
select[name=vhctyAsortCode] { select[name=vhctyAsortCode] {
width: 30%; width: 30%;
} }
select[name=rtpyrSeCode] { select[name=rtpyrSeCd] {
width: 25%; width: 25%;
} }
</style> </style>

@ -184,7 +184,7 @@ Date Author Description
<th>주민번호(구분)</th> <th>주민번호(구분)</th>
<td> <td>
<div class="d-flex gap-1"> <div class="d-flex gap-1">
<code:select id="rtpyrSeCode" name="rtpyrSeCode" grpId="FIM011" title="납부자구분" cls="form-select w-form-select" alt="납부자구분"/> <code:select id="rtpyrSeCd" name="rtpyrSeCd" grpId="FIM011" title="납부자구분" cls="form-select w-form-select" alt="납부자구분"/>
<privacy:input id="rtpyrNo" name="rtpyrNo" /> <privacy:input id="rtpyrNo" name="rtpyrNo" />
</div> </div>
</td> </td>
@ -559,7 +559,7 @@ Date Author Description
const rtpyrDTO = { const rtpyrDTO = {
rtpyrId: $('input[name=rtpyrId]').val() rtpyrId: $('input[name=rtpyrId]').val()
,rtpyrSeCode: $('input[name=rtpyrSeCode]').val() ,rtpyrSeCd: $('input[name=rtpyrSeCd]').val()
,rtpyrNm: $('input[name=rtpyrNm]').val() ,rtpyrNm: $('input[name=rtpyrNm]').val()
,rtpyrNo: $('input[name=rtpyrNo]').val() ,rtpyrNo: $('input[name=rtpyrNo]').val()
,zip: $('input[name=zip]').val() ,zip: $('input[name=zip]').val()

@ -310,7 +310,7 @@ Date Author Description
</td> </td>
<th>등록구분</th> <th>등록구분</th>
<td> <td>
<input type="text" name="rtpyrRegistSeCode" readonly/> <input type="text" name="rtpyrInputSeCd" readonly/>
</td> </td>
</tr> </tr>
</tbody> </tbody>

@ -39,7 +39,7 @@ Date Author Description
select[name=vhctyAsortCode] { select[name=vhctyAsortCode] {
width: 30%; width: 30%;
} }
select[name=rtpyrSeCode] { select[name=rtpyrSeCd] {
width: 25%; width: 25%;
} }
</style> </style>

Loading…
Cancel
Save