Example #1
0
        /// <summary>
        /// 薪资发放日提醒定时生成触发
        /// </summary>
        /// <param name="eGFunc"></param>
        private void SalarySolutionRemindTrigger(IEnumerable <XElement> eGFunc)
        {
            if (eGFunc.Count() == 0)
            {
                return;
            }

            string strAttendSolAsignId = string.Empty;

            foreach (var item in eGFunc)
            {
                if (item.Attribute("Name").Value == "SALARYSOLUTIONID")
                {
                    strAttendSolAsignId = item.Attribute("Value").Value;
                    break;
                }
            }
            SalaryService svcSalarySol = new SalaryService();

            svcSalarySol.TimingPay(svcSalarySol.GetSalarySolutionByID(strAttendSolAsignId));
        }