This commit is contained in:
chi
2022-01-10 09:35:08 +09:00
parent e2aa532654
commit b398298b80
6 changed files with 17 additions and 7 deletions

View File

@@ -101,13 +101,14 @@ namespace JobReportMailService
//메일양식이 지정되어있는지 체크
var MailJD = db.MailForm.AsNoTracking().Where(t => t.gcode == vGcode & t.cate == "SN").FirstOrDefault();
if (MailJD == null)
{
//토,일요일에는 동작하지 않는다
addmsg($"[{vGcode}] 메일 양식(SN)이 입력되지 않았습니다");
continue;
}
if (MailJD.exceptmail == null) MailJD.exceptmail = string.Empty;
if (MailJD.exceptmailcc == null) MailJD.exceptmailcc = string.Empty;
//오늘날짜로 데이터가 등록되어있느지 확인한다.
db = new EEEntities();