feat: 카카오톡 추가 반영 - 모바일 페이지 처리

mk_buill_use_yn 필드 추가
main
Jonguk. Lim 2 months ago
parent e844de8dec
commit 4450a835dd

@ -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;
}

@ -158,14 +158,11 @@ public class KkoTalkAcceptor implements EnsPhaseProcSupport<EnsResponseVO<?>, 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<EnsResponseVO<?>, 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)

Loading…
Cancel
Save