/// <summary> /// 考勤异常消息提醒 /// </summary> /// <param name="eGFunc"></param> private void AbnormRecordCheckAlarmTrigger(IEnumerable <XElement> eGFunc) { if (eGFunc.Count() == 0) { return; } string strEmployeeId = string.Empty; foreach (var item in eGFunc) { if (item.Attribute("Name").Value == "EMPLOYEEID") { strEmployeeId = item.Attribute("Value").Value; break; } } AttendanceService svcAttend = new AttendanceService(); svcAttend.AbnormRecordCheckAlarm(strEmployeeId); }