From 5c36a213f59bc6d6ded1f160c1bd878510aaeeb9 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Wed, 25 Sep 2024 11:35:24 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20FIXME=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../intgrnnoti/domain/IntgrnSendDetail.java | 2 +- .../kkotalk/domain/SendDetailKkoTalk.java | 3 +- .../kkotalk/domain/TmpltMngKkoTalk.java | 21 +++----- .../repository/TmpltMngKkoTalkRepository.java | 5 +- .../TmpltMngKkoTalkRepositoryCustom.java | 9 ++-- .../TmpltMngKkoTalkRepositoryImpl.java | 21 ++++---- .../kkotalk/mapper/IKkoTalkMapper.java | 2 - .../ens/modules/kkotalk/model/KkotalkDTO.java | 1 - .../kkotalk/model/TmpltMngKkoTalkDTO.java | 1 - .../kkotalk/model/config/Document.java | 18 +++---- .../kkotalk/model/config/KkoTalkStat.java | 19 ++++--- .../model/struct/TmpltMngKkoTalkMapper.java | 15 ++---- .../kkotalk/service/KkoTalkService.java | 5 -- .../strategy/TmpltMngStrategyKkoTalk.java | 54 +++++++------------ .../service/support/KkoTalkAcceptor.java | 1 - .../service/support/KkoTalkApiService.java | 2 - .../kkotalk/service/support/KkoTalkMaker.java | 1 - .../service/support/KkoTalkRsltFetcher.java | 3 -- .../service/support/KkoTalkRsltProvider.java | 3 -- .../service/support/KkoTalkSender.java | 5 +- 20 files changed, 64 insertions(+), 127 deletions(-) diff --git a/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnnoti/domain/IntgrnSendDetail.java b/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnnoti/domain/IntgrnSendDetail.java index d89881f..212444a 100644 --- a/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnnoti/domain/IntgrnSendDetail.java +++ b/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnnoti/domain/IntgrnSendDetail.java @@ -14,7 +14,7 @@ import lombok.experimental.*; @Getter @ToString(exclude = {"intgrnSendMast"}) @SuperBuilder -@EqualsAndHashCode +@EqualsAndHashCode(callSuper = false) @NoArgsConstructor @AllArgsConstructor @Table(name = "ens_intgrn_snd_dtl", indexes = { 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 7bfb777..0e4f63d 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 @@ -9,10 +9,9 @@ import cokr.xit.ens.modules.kkotalk.code.*; import lombok.*; import lombok.experimental.*; -// FIXME: 카카오톡 신규 추가 @Entity @Getter -@ToString +@ToString(exclude = {"sendMast"}) @SuperBuilder @NoArgsConstructor @AllArgsConstructor diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/TmpltMngKkoTalk.java b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/TmpltMngKkoTalk.java index c0d806c..afd4213 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/TmpltMngKkoTalk.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/TmpltMngKkoTalk.java @@ -1,28 +1,21 @@ package cokr.xit.ens.modules.kkotalk.domain; -import java.util.Objects; +import java.util.*; -import javax.persistence.Column; -import javax.persistence.DiscriminatorValue; -import javax.persistence.Entity; -import javax.persistence.Table; +import javax.persistence.*; -import org.hibernate.proxy.HibernateProxy; +import org.hibernate.proxy.*; -import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.TmpltMng; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; -import lombok.ToString; -import lombok.experimental.SuperBuilder; +import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.*; +import lombok.*; +import lombok.experimental.*; -// FIXME: 카카오톡 신규 추가 @Entity @Getter @ToString @SuperBuilder @NoArgsConstructor -@Table(name = "ens_tmplt_mng_kko_talk", schema = "", catalog = "") +@Table(name = "ens_tmplt_mng_kko_talk") @DiscriminatorValue("kkotalk") public class TmpltMngKkoTalk extends TmpltMng { diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepository.java b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepository.java index cdf8dc3..eb6d80b 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepository.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepository.java @@ -1,10 +1,9 @@ package cokr.xit.ens.modules.kkotalk.domain.repository; -import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.*; -import cokr.xit.ens.modules.kkotalk.domain.TmpltMngKkoTalk; +import cokr.xit.ens.modules.kkotalk.domain.*; -// FIXME: 카카오톡 신규 추가 public interface TmpltMngKkoTalkRepository extends JpaRepository, TmpltMngKkoTalkRepositoryCustom { } diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepositoryCustom.java b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepositoryCustom.java index 6d1e8df..2597809 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepositoryCustom.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepositoryCustom.java @@ -1,11 +1,10 @@ package cokr.xit.ens.modules.kkotalk.domain.repository; -import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.repository.TmpltMngRepositorySupport; -import cokr.xit.ens.modules.common.ctgy.sys.mng.model.TmpltMngSearchDTO; -import cokr.xit.ens.modules.kkotalk.domain.TmpltMngKkoTalk; -import cokr.xit.ens.modules.kkotalk.model.TmpltMngKkoTalkDTO; +import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.repository.*; +import cokr.xit.ens.modules.common.ctgy.sys.mng.model.*; +import cokr.xit.ens.modules.kkotalk.domain.*; +import cokr.xit.ens.modules.kkotalk.model.*; -// FIXME: 카카오톡 신규 추가 public interface TmpltMngKkoTalkRepositoryCustom extends TmpltMngRepositorySupport { } diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepositoryImpl.java b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepositoryImpl.java index 11e7efe..52041c7 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepositoryImpl.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/domain/repository/TmpltMngKkoTalkRepositoryImpl.java @@ -3,21 +3,18 @@ package cokr.xit.ens.modules.kkotalk.domain.repository; import static cokr.xit.ens.modules.common.ctgy.sys.mng.domain.QOrgMng.*; import static cokr.xit.ens.modules.kkotalk.domain.QTmpltMngKkoTalk.*; -import java.util.List; -import java.util.Optional; +import java.util.*; -import com.querydsl.core.BooleanBuilder; -import com.querydsl.core.types.Projections; -import com.querydsl.core.types.QBean; -import com.querydsl.jpa.impl.JPAQueryFactory; +import com.querydsl.core.*; +import com.querydsl.core.types.*; +import com.querydsl.jpa.impl.*; -import cokr.xit.ens.core.utils.CmmnUtil; -import cokr.xit.ens.modules.common.ctgy.sys.mng.model.TmpltMngSearchDTO; -import cokr.xit.ens.modules.kkotalk.domain.TmpltMngKkoTalk; -import cokr.xit.ens.modules.kkotalk.model.TmpltMngKkoTalkDTO; -import lombok.RequiredArgsConstructor; +import cokr.xit.ens.core.utils.*; +import cokr.xit.ens.modules.common.ctgy.sys.mng.model.*; +import cokr.xit.ens.modules.kkotalk.domain.*; +import cokr.xit.ens.modules.kkotalk.model.*; +import lombok.*; -// FIXME: 카카오톡 신규 추가 @RequiredArgsConstructor public class TmpltMngKkoTalkRepositoryImpl implements TmpltMngKkoTalkRepositoryCustom { diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/mapper/IKkoTalkMapper.java b/src/main/java/cokr/xit/ens/modules/kkotalk/mapper/IKkoTalkMapper.java index 05eb8c8..4ad6cca 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/mapper/IKkoTalkMapper.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/mapper/IKkoTalkMapper.java @@ -22,7 +22,6 @@ import cokr.xit.ens.modules.kkotalk.model.*; * * */ -// FIXME: 카카오톡 신규 추가 @Mapper public interface IKkoTalkMapper { void saveSndDtlKkoTalk(SendDetailKkoTalkDTO sendDetailKkoTalk); @@ -41,5 +40,4 @@ public interface IKkoTalkMapper { Optional selectSendMastByExternalIdAndEnvelopeId(final Map map); Optional selectBillByBillUid(final String billUid); - } diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/model/KkotalkDTO.java b/src/main/java/cokr/xit/ens/modules/kkotalk/model/KkotalkDTO.java index a52164b..c5e7fa7 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/model/KkotalkDTO.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/model/KkotalkDTO.java @@ -26,7 +26,6 @@ import lombok.experimental.*; * * */ -// FIXME: 카카오톡 신규 추가 public class KkotalkDTO extends KkotalkApiDTO { //------------------ envelop ---------------------------------------------------------------------- diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/model/TmpltMngKkoTalkDTO.java b/src/main/java/cokr/xit/ens/modules/kkotalk/model/TmpltMngKkoTalkDTO.java index 11cf716..a39f6f5 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/model/TmpltMngKkoTalkDTO.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/model/TmpltMngKkoTalkDTO.java @@ -12,7 +12,6 @@ import io.swagger.v3.oas.annotations.media.*; import lombok.*; import lombok.experimental.*; -// FIXME: 카카오톡 신규 추가 @EqualsAndHashCode(callSuper = true) @Data @ToString diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/model/config/Document.java b/src/main/java/cokr/xit/ens/modules/kkotalk/model/config/Document.java index f738dee..33da0b5 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/model/config/Document.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/model/config/Document.java @@ -1,18 +1,14 @@ package cokr.xit.ens.modules.kkotalk.model.config; -import javax.validation.Valid; -import javax.validation.constraints.Size; +import javax.validation.*; +import javax.validation.constraints.*; -import cokr.xit.ens.modules.kkomydoc.model.config.XitProperty; -import cokr.xit.ens.modules.kkotalk.model.KkotalkApiDTO; -import io.swagger.v3.oas.annotations.media.Schema; -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.ToString; -import lombok.experimental.SuperBuilder; +import cokr.xit.ens.modules.kkomydoc.model.config.*; +import cokr.xit.ens.modules.kkotalk.model.*; +import io.swagger.v3.oas.annotations.media.*; +import lombok.*; +import lombok.experimental.*; -// FIXME: 카카오톡 신규 추가 @Getter @ToString @SuperBuilder diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/model/config/KkoTalkStat.java b/src/main/java/cokr/xit/ens/modules/kkotalk/model/config/KkoTalkStat.java index ac6edd5..7bbff9c 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/model/config/KkoTalkStat.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/model/config/KkoTalkStat.java @@ -32,23 +32,22 @@ public class KkoTalkStat { @Schema(required = true, title = "진행 상태", example = " ") private KkoTalkStatusCd status; - @Schema(required = false, title = "송신 시간(yyyyMMddHHmmss)", example = " ") + @Schema(required = false, title = "송신 시간", example = " ") private String sentDt; - @Schema(required = false, title = "수신 시간(yyyyMMddHHmmss)", example = " ") + @Schema(required = false, title = "수신 시간", example = " ") private String receivedDt; - // FIXME: 카카오톡 적용 필요 - // @Schema(required = false, title = "열람 인증을 성공한 최초 시간(yyyyMMddHHmmss)", example = " ") + @Schema(required = false, title = "열람 인증을 성공한 최초 시간", example = " ") private String authenticatedAt; - // - // @Schema(required = false, title = "OTT 검증을 성공한 최초 시간(yyyyMMddHHmmss)", example = " ") + + @Schema(required = false, title = "OTT 검증을 성공한 최초 시간", example = " ") private String ottVerifiedAt; - // - // @Schema(required = false, title = "최초 열람 시간(yyyyMMddHHmmss)", example = " ") + + @Schema(required = false, title = "최초 열람 시간", example = " ") private String readAt; - // - // @Schema(required = false, title = "알림톡 수신 시간(yyyyMMddHHmmss)", example = " ") + + @Schema(required = false, title = "알림톡 수신 시간", example = " ") private String userNotifiedAt; @Schema(required = false, title = "에러코드", example = " ") diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/model/struct/TmpltMngKkoTalkMapper.java b/src/main/java/cokr/xit/ens/modules/kkotalk/model/struct/TmpltMngKkoTalkMapper.java index f25aba2..c6cacd3 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/model/struct/TmpltMngKkoTalkMapper.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/model/struct/TmpltMngKkoTalkMapper.java @@ -1,18 +1,13 @@ package cokr.xit.ens.modules.kkotalk.model.struct; -import org.mapstruct.Mapper; -import org.mapstruct.Mapping; +import org.mapstruct.*; -import cokr.xit.ens.core.mapstruct.GenericMapper; -import cokr.xit.ens.core.mapstruct.StructMapperConfig; -import cokr.xit.ens.modules.kkotalk.domain.TmpltMngKkoTalk; -import cokr.xit.ens.modules.kkotalk.model.TmpltMngKkoTalkDTO; +import cokr.xit.ens.core.mapstruct.*; +import cokr.xit.ens.modules.kkotalk.domain.*; +import cokr.xit.ens.modules.kkotalk.model.*; -// FIXME: 카카오톡 신규 추가 @Mapper(config = StructMapperConfig.class) public interface TmpltMngKkoTalkMapper extends GenericMapper { - - @Override @Mapping(target = "orgMng.orgCd", source = "orgCd") TmpltMngKkoTalk toEntity(TmpltMngKkoTalkDTO tmpltMngKkoTalkDTO); @@ -20,6 +15,4 @@ public interface TmpltMngKkoTalkMapper extends GenericMapper resp = kkoTalkApi.validToken( orgMng, KkotalkApiDTO.ValidTokenRequest.builder() @@ -326,7 +324,6 @@ public class KkoTalkService { throw new EnsException(EnsErrCd.ERR505, String.format("토큰검증 응답데이터 파싱 실패. %s", resp.getBody())); } - // FIXME: 카카오톡 적용 확인 String envelopeStatus = (String) mResponse.get("status"); if (!CmmnUtil.isEmpty(envelopeStatus)) { responseVO = EnsResponseVO.okBuilder() @@ -356,7 +353,6 @@ public class KkoTalkService { } finally { if (EnsErrCd.OK.equals(responseVO.getErrCode())) { Map resultInfo = (Map) responseVO.getResultInfo(); - // FIXME: 카카오톡 적용 확인 필요?? sendDetailKkoTalkTokenHistRepository.save(SendDetailKkoTalkTokenHist.builder() .envelopeId(envelopeId) .externalId(externalId) @@ -403,7 +399,6 @@ public class KkoTalkService { throw new EnsException(EnsErrCd.ERR401, "문서식별번호(은)는 필수조건 입니다."); OrgMng orgMng = orgMngService.find(orgCd).getResultInfo(); - // FIXME: 카카오툭 토큰 확인 API 호출 처리 ResponseEntity resp = kkoTalkApi.modifyStatus( orgMng, KkotalkDTO.EnvelopeId.builder() diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/service/strategy/TmpltMngStrategyKkoTalk.java b/src/main/java/cokr/xit/ens/modules/kkotalk/service/strategy/TmpltMngStrategyKkoTalk.java index f5633ff..425d588 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/service/strategy/TmpltMngStrategyKkoTalk.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/service/strategy/TmpltMngStrategyKkoTalk.java @@ -1,34 +1,25 @@ package cokr.xit.ens.modules.kkotalk.service.strategy; -import java.util.Arrays; -import java.util.List; -import java.util.Map; -import java.util.Optional; -import java.util.Set; -import java.util.stream.Collectors; +import java.util.*; +import java.util.stream.*; + +import javax.validation.*; + +import org.mapstruct.factory.*; +import org.springframework.stereotype.*; + +import cokr.xit.ens.core.exception.*; +import cokr.xit.ens.core.exception.code.*; +import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.*; +import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.repository.*; +import cokr.xit.ens.modules.common.ctgy.sys.mng.model.*; +import cokr.xit.ens.modules.common.ctgy.sys.mng.service.strategy.*; +import cokr.xit.ens.modules.kkotalk.domain.*; +import cokr.xit.ens.modules.kkotalk.domain.repository.*; +import cokr.xit.ens.modules.kkotalk.model.*; +import cokr.xit.ens.modules.kkotalk.model.struct.*; +import lombok.*; -import javax.validation.ConstraintViolation; -import javax.validation.Validation; -import javax.validation.Validator; - -import org.mapstruct.factory.Mappers; -import org.springframework.stereotype.Component; - -import cokr.xit.ens.core.exception.EnsException; -import cokr.xit.ens.core.exception.code.EnsErrCd; -import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.OrgMng; -import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.repository.OrgMngRepository; -import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.repository.TmpltMngRepository; -import cokr.xit.ens.modules.common.ctgy.sys.mng.model.TmpltMngDTO; -import cokr.xit.ens.modules.common.ctgy.sys.mng.model.TmpltMngSearchDTO; -import cokr.xit.ens.modules.common.ctgy.sys.mng.service.strategy.TmpltMngStrategyTemplate; -import cokr.xit.ens.modules.kkotalk.domain.TmpltMngKkoTalk; -import cokr.xit.ens.modules.kkotalk.domain.repository.TmpltMngKkoTalkRepository; -import cokr.xit.ens.modules.kkotalk.model.TmpltMngKkoTalkDTO; -import cokr.xit.ens.modules.kkotalk.model.struct.TmpltMngKkoTalkMapper; -import lombok.RequiredArgsConstructor; - -// FIXME: 카카오톡 신규 추가 @Component("tmpltMngStrategy_kkotalk") @RequiredArgsConstructor public class TmpltMngStrategyKkoTalk extends TmpltMngStrategyTemplate, TmpltMngKkoTalkDTO> { @@ -37,7 +28,6 @@ public class TmpltMngStrategyKkoTalk extends TmpltMngStrategyTemplate findAll(TmpltMngSearchDTO tmpltMngSearchDTO) { @@ -47,10 +37,6 @@ public class TmpltMngStrategyKkoTalk extends TmpltMngStrategyTemplate find(String orgCd, String tmpltCd) { return tmpltMngKkoTalkRepository.findDtoByOrgCdAndTmpltCd(orgCd, tmpltCd); - -// String key = super.pushCache(redisTemplate, orgCd, tmpltCd, tmpltMngKkoMydocRepository); -// HashOperations hashOperations = redisTemplate.opsForHash(); -// return Optional.ofNullable(hashOperations.entries(KEY).get(key)); } @@ -97,7 +83,5 @@ public class TmpltMngStrategyKkoTalk extends TmpltMngStrategyTemplate */ -// FIXME: 카카오톡 신규 추가 @Slf4j @RequiredArgsConstructor @Component @@ -370,7 +369,6 @@ public class KkoTalkApiService { return responseEntity; } - // FIXME: 카카오톡 API 호출 시 API 호출 정보 추가 필요 private HttpHeaders getHeaders(final OrgMng orgMng){ HttpHeaders headers = new HttpHeaders(); headers.setContentType(new MediaType(MediaType.APPLICATION_JSON, Charset.forName("utf-8"))); diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkMaker.java b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkMaker.java index ec803f5..1a6bbe5 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkMaker.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkMaker.java @@ -31,7 +31,6 @@ import cokr.xit.ens.modules.kkotalk.service.strategy.*; import lombok.*; import lombok.extern.slf4j.*; -// FIXME: 카카오톡 신규 추가 @Slf4j @Component @RequiredArgsConstructor diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltFetcher.java b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltFetcher.java index f0db530..af4a3ab 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltFetcher.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltFetcher.java @@ -32,7 +32,6 @@ import cokr.xit.ens.modules.kkotalk.model.*; import lombok.*; import lombok.extern.slf4j.*; -// FIXME: 카카오톡 신규 추가 @Slf4j @Component @RequiredArgsConstructor @@ -111,7 +110,6 @@ public class KkoTalkRsltFetcher extends ResultProcTemplate { .build()) ); } finally { - // FIXME: 카카오톡 추가 - 카카오톡 테이블 업데이트 list .forEach(talkMapper::updateKakaotalkStatusBulksResult); @@ -135,7 +133,6 @@ public class KkoTalkRsltFetcher extends ResultProcTemplate { if (EnsErrCd.OK.equals(respVO.getErrCode())) { sendMast.setError(FieldError.initBuilder().build()); - // FIXME: 카카오톡 코드 반영 필요 Integer readCnt = sendDetails.stream() .map(row -> KkoTalkStatusCd.READ.equals(row.getStatus()) ? 1 : 0) .reduce(Integer::sum) diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltProvider.java b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltProvider.java index 4278578..c6a8d12 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltProvider.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkRsltProvider.java @@ -21,7 +21,6 @@ import cokr.xit.ens.modules.kkotalk.model.config.*; import lombok.*; import lombok.extern.slf4j.*; -// FIXME: 카카오톡 신규 추가 @Slf4j @Component @RequiredArgsConstructor @@ -53,7 +52,6 @@ public class KkoTalkRsltProvider implements EnsPhaseProcSupport sendDetailKkoTalks = talkMapper.findAllBySendMastId(sendMast.getSendMastId()); - // FIXME: 카카오톡 적용 필요 KkoTalkRsltRespDTO respDTO = KkoTalkRsltRespDTO.builder() .sendMastId(sendMast.getSendMastId()) .statCd(sendMast.getStatCd()) @@ -71,7 +69,6 @@ public class KkoTalkRsltProvider implements EnsPhaseProcSupport