From 16457225f91830540a2338e0122dddfe0557c518 Mon Sep 17 00:00:00 2001 From: kjh Date: Thu, 16 Nov 2023 18:32:22 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20KT=20=EA=B0=95=EC=A0=9C=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EB=B0=9C=EC=83=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/kr/xit/biz/ens/service/EnsBatchSendService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mens-batch/src/main/java/kr/xit/biz/ens/service/EnsBatchSendService.java b/mens-batch/src/main/java/kr/xit/biz/ens/service/EnsBatchSendService.java index 0ea580f..725b355 100644 --- a/mens-batch/src/main/java/kr/xit/biz/ens/service/EnsBatchSendService.java +++ b/mens-batch/src/main/java/kr/xit/biz/ens/service/EnsBatchSendService.java @@ -341,6 +341,7 @@ public class EnsBatchSendService extends EgovAbstractServiceImpl implements IEns private void sendBulkKtBc(final SndngMssageParam dto) { final String url = apiHost + apiKtBcBulkSend; + EnsKtBcDTO mstDTO = mapper.selectKtBcMstTgtInfo(dto) .orElseThrow(() -> BizRuntimeException.create("KT BC 본문자 수신 등록 대상이 존재 하지 않습니다 ")); @@ -350,6 +351,7 @@ public class EnsBatchSendService extends EgovAbstractServiceImpl implements IEns // validation check try { + if(true) throw BizRuntimeException.create("################################ 오류 ###################"); validatedKtBcSendBulks(sendReqs); } catch (Exception e) { extractService.updateSndngMstFailStatus(mstId, SndngSeCode.KT_BC, "", e.getMessage(), "[send]KT-BC 발송(bulks)요청 실패(파라메터 오류)");