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:
*/
@ -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
, 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})

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

@ -184,7 +184,7 @@ Date Author Description
<th>주민번호(구분)</th>
<td>
<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" />
</div>
</td>
@ -559,7 +559,7 @@ Date Author Description
const rtpyrDTO = {
rtpyrId: $('input[name=rtpyrId]').val()
,rtpyrSeCode: $('input[name=rtpyrSeCode]').val()
,rtpyrSeCd: $('input[name=rtpyrSeCd]').val()
,rtpyrNm: $('input[name=rtpyrNm]').val()
,rtpyrNo: $('input[name=rtpyrNo]').val()
,zip: $('input[name=zip]').val()

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

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

Loading…
Cancel
Save