using Quartz; using System; using System.Data; using System.Data.Common; using MyCode.Project.Services; using MyCode.Project.Infrastructure; using MyCode.Project.Infrastructure.UnityExtensions; using Microsoft.Practices.Unity; using System.Reflection; using MyCode.Project.Domain.Model; using System.Collections; using System.Collections.Specialized; using System.Collections.Generic; using System.Threading; namespace MyCode.Project.ScheduleTask.Jobs { public class TenPMTimeJob : IJob { private readonly IStorageService _storageService; private IMillionShopExtensionService _millionShopExtensionService; public TenPMTimeJob(IStorageService storageService , IMillionShopExtensionService millionShopExtensionService) { _storageService = storageService; _millionShopExtensionService = millionShopExtensionService; } public void Execute(IJobExecutionContext context) { //_millionShopExtensionService.SendTodayKPI();//发送消息给店长、店员、加盟商:当天业绩信息 改成凌晨十二点 _storageService.ProcessForOutStorage();//出库提醒 _storageService.ProcessForInStorage();//入库提醒 } } }