|
|
|
@ -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<EnsResponseVO, L
|
|
|
|
|
.kko_md(new AcptDocKkoMd(data, MBLPAGE_URL + MBLPAGE_PATH).createDocument())
|
|
|
|
|
.kko_at(null)
|
|
|
|
|
|
|
|
|
|
// .nv_st(new AcptDocNvSt(data, NV_ST_ORG_ID, MBLPAGE_URL + MBLPAGE_PATH).createDocument())
|
|
|
|
|
// FIXME: 카카오톡 추가
|
|
|
|
|
.kko_talk(new AcptDocKkoTalk(data, MBLPAGE_URL + MBLPAGE_PATH).createDocument())
|
|
|
|
|
|
|
|
|
|
.nv_st(new AcptDocNvSt(data, null, MBLPAGE_URL + MBLPAGE_PATH).createDocument())
|
|
|
|
|
.build())
|
|
|
|
|
.xit_property(XitProperty.builder()
|
|
|
|
|