feat: KT 강제 오류 발생

dev
kjh 1 year ago
parent ee90172c51
commit 16457225f9

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

Loading…
Cancel
Save