From 4450a835dda3059d44378b0841a8a55e99cfb5bb Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Wed, 11 Sep 2024 18:15:40 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=B9=B4=EC=B9=B4=EC=98=A4=ED=86=A1=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=EB=B0=98=EC=98=81=20-=20=EB=AA=A8?= =?UTF-8?q?=EB=B0=94=EC=9D=BC=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC=20=20=20=20=20=20=20mk=5Fbuill=5Fuse=5Fyn=20=ED=95=84?= =?UTF-8?q?=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/ens/modules/kkotalk/domain/SendDetailKkoTalk.java | 6 +++--- .../modules/kkotalk/service/support/KkoTalkAcceptor.java | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) 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)