diff --git a/src/main/java/cokr/xit/ens/biz/iup/signtalk/service/support/IupSigntalkAcceptor.java b/src/main/java/cokr/xit/ens/biz/iup/signtalk/service/support/IupSigntalkAcceptor.java index 84084bd..38bee58 100644 --- a/src/main/java/cokr/xit/ens/biz/iup/signtalk/service/support/IupSigntalkAcceptor.java +++ b/src/main/java/cokr/xit/ens/biz/iup/signtalk/service/support/IupSigntalkAcceptor.java @@ -1,44 +1,36 @@ package cokr.xit.ens.biz.iup.signtalk.service.support; -import cokr.xit.ens.biz.iup.code.IupPrcsCd; -import cokr.xit.ens.biz.iup.code.IupSendTypeCd; -import cokr.xit.ens.biz.iup.domain.TbInputDataXit; -import cokr.xit.ens.biz.iup.domain.TbInputXit; -import cokr.xit.ens.biz.iup.domain.repository.TbInputDataXitRepository; -import cokr.xit.ens.biz.iup.domain.repository.TbInputXitRepository; -import cokr.xit.ens.biz.iup.signtalk.service.support.accept.AcptDocKkoMd; -import cokr.xit.ens.biz.iup.signtalk.service.support.accept.AcptDocNvSt; -import cokr.xit.ens.core.aop.EnsResponseVO; -import cokr.xit.ens.core.exception.EnsException; -import cokr.xit.ens.core.exception.code.EnsErrCd; -import cokr.xit.ens.core.utils.CmmnUtil; -import cokr.xit.ens.modules.common.biztmplt.EnsPhaseProcSupport; -import cokr.xit.ens.modules.common.code.VenderCd; -import cokr.xit.ens.core.model.EnsBillAcptReqDTO; -import cokr.xit.ens.modules.common.ctgy.intgrnbill.support.code.BillSeCd; -import cokr.xit.ens.modules.common.ctgy.intgrnnoti.model.IntgrnNotiAcceptReqDTO; -import cokr.xit.ens.modules.common.ctgy.intgrnnoti.model.config.AcptData; -import cokr.xit.ens.modules.common.ctgy.intgrnnoti.model.config.Document; -import cokr.xit.ens.modules.common.ctgy.intgrnnoti.model.config.Receiver; -import cokr.xit.ens.modules.common.ctgy.intgrnnoti.model.config.XitProperty; -import cokr.xit.ens.modules.common.ctgy.intgrnnoti.service.IntgrnNotiService; -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; -import net.bytebuddy.utility.RandomString; +import java.time.*; +import java.time.format.*; +import java.util.*; +import java.util.concurrent.atomic.*; +import java.util.stream.*; + import org.springframework.beans.factory.annotation.Value; -import org.springframework.stereotype.Component; -import org.springframework.transaction.annotation.Propagation; -import org.springframework.transaction.annotation.Transactional; - -import java.time.LocalDateTime; -import java.time.format.DateTimeFormatter; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.concurrent.atomic.AtomicInteger; -import java.util.stream.Collectors; +import org.springframework.stereotype.*; +import org.springframework.transaction.annotation.*; + +import net.bytebuddy.utility.*; + +import com.google.gson.*; + +import cokr.xit.ens.biz.iup.code.*; +import cokr.xit.ens.biz.iup.domain.*; +import cokr.xit.ens.biz.iup.domain.repository.*; +import cokr.xit.ens.biz.iup.signtalk.service.support.accept.*; +import cokr.xit.ens.core.aop.*; +import cokr.xit.ens.core.exception.*; +import cokr.xit.ens.core.exception.code.*; +import cokr.xit.ens.core.model.*; +import cokr.xit.ens.core.utils.*; +import cokr.xit.ens.modules.common.biztmplt.*; +import cokr.xit.ens.modules.common.code.*; +import cokr.xit.ens.modules.common.ctgy.intgrnbill.support.code.*; +import cokr.xit.ens.modules.common.ctgy.intgrnnoti.model.*; +import cokr.xit.ens.modules.common.ctgy.intgrnnoti.model.config.*; +import cokr.xit.ens.modules.common.ctgy.intgrnnoti.service.*; +import lombok.*; +import lombok.extern.slf4j.*; @Slf4j @Component @@ -236,7 +228,9 @@ public class IupSigntalkAcceptor implements EnsPhaseProcSupport { + + private final TbInputDataXit tbInputDataXit; + private final String redirectUrl; + + @Override + public KkotalkApiDTO.Envelope createDocument() { + return KkotalkApiDTO.Envelope.builder() + .hash(null) + .build(); + } + + + private Property createProperty(TbInputDataXit data) { + return Property.builder() +// .link(data.getPayUrl()) + .link(redirectUrl) + .payload(null) + .message(null) + .cs_name("문의처") + .cs_number(data.getCallCenterNo()) +// .external_document_uuid(data.getDataId()) +// .external_document_uuid(data.getLinkedUuid()) + .build(); + } + +} diff --git a/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnnoti/service/support/kkotalk/AcceptByKkoTalkEventListener.java b/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnnoti/service/support/kkotalk/AcceptByKkoTalkEventListener.java index eab70bc..1970ac3 100644 --- a/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnnoti/service/support/kkotalk/AcceptByKkoTalkEventListener.java +++ b/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnnoti/service/support/kkotalk/AcceptByKkoTalkEventListener.java @@ -1,29 +1,24 @@ package cokr.xit.ens.modules.common.ctgy.intgrnnoti.service.support.kkotalk; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.stream.Collectors; - -import org.springframework.context.ApplicationEventPublisher; -import org.springframework.stereotype.Component; - -import cokr.xit.ens.core.aop.EnsResponseVO; -import cokr.xit.ens.core.exception.code.EnsErrCd; -import cokr.xit.ens.core.monitor.slack.event.MonitorEvent; -import cokr.xit.ens.modules.common.code.PostSeCd; -import cokr.xit.ens.modules.common.code.StatCd; -import cokr.xit.ens.modules.common.ctgy.intgrnnoti.domain.IntgrnSendDetail; -import cokr.xit.ens.modules.common.ctgy.intgrnnoti.domain.repository.IntgrnSendDetailRepository; -import cokr.xit.ens.modules.common.ctgy.intgrnnoti.service.support.AcceptDataEventListener; -import cokr.xit.ens.modules.common.monitor.MessageByPhase; -import cokr.xit.ens.modules.kkomydoc.service.event.KkoMydocSendRealtimeEvent; -import cokr.xit.ens.modules.kkomydoc.service.event.KkoMydocSendReserveEvent; -import cokr.xit.ens.modules.kkotalk.model.KkotalkDTO; -import cokr.xit.ens.modules.kkotalk.service.KkoTalkService; -import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; +import java.util.*; +import java.util.stream.*; + +import org.springframework.context.*; +import org.springframework.stereotype.*; + +import cokr.xit.ens.core.aop.*; +import cokr.xit.ens.core.exception.code.*; +import cokr.xit.ens.core.monitor.slack.event.*; +import cokr.xit.ens.modules.common.code.*; +import cokr.xit.ens.modules.common.ctgy.intgrnnoti.domain.*; +import cokr.xit.ens.modules.common.ctgy.intgrnnoti.domain.repository.*; +import cokr.xit.ens.modules.common.ctgy.intgrnnoti.service.support.*; +import cokr.xit.ens.modules.common.monitor.*; +import cokr.xit.ens.modules.kkomydoc.service.event.*; +import cokr.xit.ens.modules.kkotalk.model.*; +import cokr.xit.ens.modules.kkotalk.service.*; +import lombok.*; +import lombok.extern.slf4j.*; // FIXME: 카카오톡 신규 추가 @Slf4j @@ -38,7 +33,7 @@ public class AcceptByKkoTalkEventListener implements AcceptDataEventListener