|
|
|
|
@ -293,21 +293,14 @@ public class SnisBean extends ScheduledBean {
|
|
|
|
|
levy.setTxitmCd(semokCd); // 세목코드
|
|
|
|
|
levy.setLevyNo(notice.getTaxNo()); // 부과번호
|
|
|
|
|
levy.setLevyYmd(notice.getTaxYmd()); // 부과일자
|
|
|
|
|
levy.setDudtYmd(notice.getNapgiYmd()); // 납기일자
|
|
|
|
|
levy.setDudtYmd(!chenap ? notice.getNapgiYmd() : notice.getCheNapgiYmd()); // 납기일자
|
|
|
|
|
|
|
|
|
|
int taxAmt = !chenap ? (int)notice.getTaxAmt() : (int)notice.getCheAmt();
|
|
|
|
|
levy.setLevyPcptax(taxAmt); // 부과본세 <- 과세금액
|
|
|
|
|
int gasanAmt = !chenap ? (int)notice.gasanAmt() : (int)notice.chenapGasanAmt();
|
|
|
|
|
levy.setLevyAdamt(gasanAmt); // 부과가산금
|
|
|
|
|
levy.setDudtAftrAmt(null);
|
|
|
|
|
/*
|
|
|
|
|
if ("1".equals(notice.getBuStatusCd())) { // 완납일경우
|
|
|
|
|
levy.setRcvmtPcptax(taxAmt);
|
|
|
|
|
levy.setRcvmtAdamt(gasanAmt);
|
|
|
|
|
levy.setRcvmtYmd(notice.getNapbuYmd()); // 수납일자
|
|
|
|
|
}
|
|
|
|
|
levy.setLastAmt(levy.lastAmt()); // 최종금액
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
levy.setDudtAftrYmd(notice.getNapgiAftYmd()); // 납기후일자
|
|
|
|
|
levy.setTxtnThing(notice.getMulNm()); // 물건이름
|
|
|
|
|
|
|
|
|
|
@ -316,6 +309,8 @@ public class SnisBean extends ScheduledBean {
|
|
|
|
|
// levy.setNxrpLevyKey(Long.toString(notice.getBuAk())); // 세외수입 부과키
|
|
|
|
|
|
|
|
|
|
setBankAccounts(notice.accountGetters(), levy.bankAccountSetters()); // 은행 / 계좌번호
|
|
|
|
|
if (chenap)
|
|
|
|
|
levy.setNpmntRsnCd("09"); // 체납사유: 기타
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void update(Ye22NoticeInfoDTO notice, SndngDtl sndngDtl) {
|
|
|
|
|
@ -331,7 +326,7 @@ public class SnisBean extends ScheduledBean {
|
|
|
|
|
// detail.setLevyNo(notice.getTaxNo()); // 부과번호
|
|
|
|
|
sndngDtl.setLevyYmd(notice.getTaxYmd()); // 부과일자
|
|
|
|
|
|
|
|
|
|
sndngDtl.setDudtYmd(notice.getNapgiYmd()); // 납기일자
|
|
|
|
|
sndngDtl.setDudtYmd(!chenap ? notice.getNapgiYmd() : notice.getCheNapgiYmd()); // 납기일자
|
|
|
|
|
sndngDtl.setDudtAftrYmd(notice.getNapgiAftYmd()); // 납기후일자
|
|
|
|
|
|
|
|
|
|
sndngDtl.setPcptax(!chenap ? (int)notice.getTaxAmt() : (int)notice.getCheAmt()); // 본세
|
|
|
|
|
|