99
This commit is contained in:
@@ -15,21 +15,21 @@ using System.Threading;
|
||||
|
||||
namespace MyCode.Project.ScheduleTask.Jobs
|
||||
{
|
||||
public class EveryFiveMinuteJob : IJob
|
||||
public class EveryMinuteJob : IJob
|
||||
{
|
||||
|
||||
private IReport2308Service _report2308Service;
|
||||
private IStaffDataEnterpriseWechatService _staffDataEnterpriseWechatService;
|
||||
|
||||
public EveryFiveMinuteJob(IReport2308Service report2308Service)
|
||||
public EveryMinuteJob(IStaffDataEnterpriseWechatService staffDataEnterpriseWechatService)
|
||||
{
|
||||
_report2308Service = report2308Service;
|
||||
_staffDataEnterpriseWechatService = staffDataEnterpriseWechatService;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void Execute(IJobExecutionContext context)
|
||||
{
|
||||
_report2308Service.EveryFiveMinuteJob();
|
||||
_staffDataEnterpriseWechatService.TaskAttendanceRequest();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user