This commit is contained in:
chi
2021-06-17 09:36:17 +09:00
parent 71b362c05b
commit 139c48721f
25 changed files with 5556 additions and 904 deletions

View File

@@ -123,6 +123,9 @@ namespace JobReportMailService
var userdata = db.vGroupUser.Where(t => t.id == userinfo.id).FirstOrDefault();
if (userdata != null && string.IsNullOrEmpty(userdata.outdate) == false) continue;
//사용자 정보에 업무일지를 사용하지 않기로 했다면 처리하지 않는다. 퇴사자는 이값도 설정된다.
if (userdata.useJobReport != null && userdata.useJobReport == false) continue;
//이 대상의 이메일이 받는 사람에 제외되어있다면 처리하지 않는다.
var exxptolist = MailJW.exceptmail.ToUpper().Split(';');
if (exxptolist.Contains(userdata.email.ToUpper()) == false)
@@ -134,7 +137,6 @@ namespace JobReportMailService
else addmsg("주간 제외대상자임 " + userdata.email);
}
addmsg($"{uids.Count} 명의 전체 사용자가 확인 되었습니다");
//먼저 날짜목록을 가져온다