배치이력 생성 작업
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user