diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/SendDetailKkoTalk.java b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/SendDetailKkoTalk.java index 9387140..7bfb777 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/SendDetailKkoTalk.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/SendDetailKkoTalk.java @@ -118,9 +118,6 @@ public class SendDetailKkoTalk extends BaseEntity { @Setter @Column(name = "envelope_id", nullable = true) private String envelopeId; - // - // @Column(name = "status", nullable = true) - // private String status; @Setter @Column(name = "sent_at", nullable = true) @@ -172,4 +169,7 @@ public class SendDetailKkoTalk extends BaseEntity { @Column(name = "status", nullable = false, length = 30) @Setter private KkoTalkStatusCd status; + + @Column(name = "mk_bill_use_yn", nullable = true, length = 1) + private String mkBillUseYn; } diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkAcceptor.java b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkAcceptor.java index 76c22fd..af48be7 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkAcceptor.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkAcceptor.java @@ -158,14 +158,11 @@ public class KkoTalkAcceptor implements EnsPhaseProcSupport, Kk .orElseThrow(() -> new RuntimeException("등록된 청구서가 없습니다.")); } else { bill = Bill.builder() -// .billId(document.getXit_property().getBill_acpt_data().getBill_id()) .billId(null) .billUid(IdGenerator.getShortUUID(prefixBillUid)) .billerUserKey(document.getXit_property().getBill_acpt_data().getBillerUserKey()) .billSeCd(document.getXit_property().getBill_acpt_data().getBillSe()) .orgMng(OrgMng.builder().orgCd(reqDTO.getOrg_cd()).build()) -// .docBillKko(CmmnUtil.isEmpty(document.getXit_property().getBill_acpt_data().getBill_kko()) ? null : gson.toJson(document.getXit_property().getBill_acpt_data().getBill_kko())) -// .docBillNv(CmmnUtil.isEmpty(document.getXit_property().getBill_acpt_data().getBill_nv()) ? null : gson.toJson(document.getXit_property().getBill_acpt_data().getBill_nv())) .build(); } bills.add(bill); @@ -191,9 +188,7 @@ public class KkoTalkAcceptor implements EnsPhaseProcSupport, Kk .birthday(document.getBirthday()) .externalId(document.getExternalId()) .mkBillUseYn(CmmnUtil.isEmpty(bill) ? "N" : "Y") -// .mkBillUid(bill == null ? null : bill.getBillUid()) .billUid(Objects.requireNonNull(bill).getBillUid()) -// .mkJid(xitProperty.getJid()) .mkJid(aes256.encrypt(xitProperty.getJid())) .mkTmpltMsgJsonData(CmmnUtil.isEmpty(xitProperty.getTmplt_msg_data()) ? null : gson.toJson(xitProperty.getTmplt_msg_data())) .status(KkoTalkStatusCd.NULL)