261029_01_ENH: 템플릿 soft delete 적용 및 발송·예약 건 삭제 차단과 동시성 제어

This commit is contained in:
2026-10-29 08:59:32 +09:00
parent 6a2cc014a7
commit 3eb9c2d12f
7 changed files with 141 additions and 32 deletions

View File

@@ -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);
}
}