|
|
|
@ -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)
|
|
|
|
|