/// <summary> /// 考勤记录定时生成触发 /// </summary> /// <param name="eGFunc"></param> private void AsignAttendSolTrigger(IEnumerable <XElement> eGFunc) { if (eGFunc.Count() == 0) { return; } string strAttendSolAsignId = string.Empty; foreach (var item in eGFunc) { if (item.Attribute("Name").Value == "ATTENDANCESOLUTIONASIGNID") { strAttendSolAsignId = item.Attribute("Value").Value; break; } } AttendanceService svcAttend = new AttendanceService(); svcAttend.AsignAttendanceSolutionWithAll(); }