99
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using MyCode.Project.Services;
|
||||
using MyCode.Project.Services.Implementation;
|
||||
using Quartz;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MyCode.Project.ScheduleTask.Jobs
|
||||
{
|
||||
[DisallowConcurrentExecution]
|
||||
public class AnsyLxmUseDaysJob : IJob
|
||||
{
|
||||
|
||||
private readonly ILxmInfraDataService _lxmInfraDataService;
|
||||
|
||||
public AnsyLxmUseDaysJob(ILxmInfraDataService lxmInfraDataService)
|
||||
{
|
||||
_lxmInfraDataService = lxmInfraDataService;
|
||||
}
|
||||
|
||||
|
||||
public void Execute(IJobExecutionContext context)
|
||||
{
|
||||
_lxmInfraDataService.AnsyLxmUseDaysIntoMySql();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user