..
This commit is contained in:
@@ -117,6 +117,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;
|
||||
|
||||
db = new EEEntities();
|
||||
var Exists = db.MailData.Where(t => t.gcode == Pub.vGcode && t.wuid == userinfo.id && t.pdate == str_dt && t.cate == "JD").Any();
|
||||
if (Exists == false) uids.Add(userinfo.id, userinfo.name); //자동생성된 자료가 없는 경우에만 처리한다
|
||||
|
||||
Reference in New Issue
Block a user