배치이력 생성 작업

This commit is contained in:
kangsunlee
2025-07-11 16:39:52 +09:00
parent 8e03d434ee
commit 5b50fe92a8
19 changed files with 255 additions and 143 deletions

View File

@@ -19,16 +19,13 @@ public class MMSDao implements MMSPortOut {
@Transactional
public Optional<Boolean> sendAutoSms(CreateSmsAutoSendCmd cmd) {
try {
log.debug("@@@ sendAutoSmsTest");
mapper.createSmsAutoSend(cmd);
return Optional.of(true);
} catch (Exception e) {
log.info(e.getMessage());
log.error(e.getMessage());
// 예외 발생 시 false 반환
return Optional.of(false);
throw new RuntimeException("문자 자동 발송 생성 중 오류: " + e.getMessage(), e);
}
}
}