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)요청 실패(파라메터 오류)");