...
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user