261029_01_ENH: 템플릿 soft delete 적용 및 발송·예약 건 삭제 차단과 동시성 제어
This commit is contained in:
@@ -91,16 +91,9 @@ public abstract class AbstractPringoSendService extends AbstractSendService {
|
||||
|
||||
return SendInternalResultDto.of(cmid, SendStatusType.STANDBY, NotihubConst.EMAIL_STANDBY);
|
||||
} else {
|
||||
PringoSendRequestDto pringoReq = buildPringoSendRequest(
|
||||
sendEml,
|
||||
sendNm,
|
||||
msgTitle,
|
||||
msgBody,
|
||||
tmplatIdx,
|
||||
atchFl,
|
||||
dest
|
||||
);
|
||||
return sendPringoEmail(pringoReq);
|
||||
// 단건도 발송 중 상태를 먼저 저장하고, 커밋 후 트랜잭션 밖에서 외부 발송을 호출한다.
|
||||
return SendInternalResultDto.of(CommonUtil.uuid32(), SendStatusType.STANDBY,
|
||||
NotihubConst.EMAIL_SENDING);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user