初始化完成
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
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 AnsyLxmBaseDataJob:IJob
|
||||
{
|
||||
private readonly ILxmInfraDataService _lxmInfraDataService;
|
||||
|
||||
public AnsyLxmBaseDataJob(ILxmInfraDataService lxmInfraDataService)
|
||||
{
|
||||
_lxmInfraDataService = lxmInfraDataService;
|
||||
}
|
||||
|
||||
|
||||
public void Execute(IJobExecutionContext context)
|
||||
{
|
||||
//同步店铺数据
|
||||
_lxmInfraDataService.AnsyShop();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
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 AnsyLxmDataJob : IJob
|
||||
{
|
||||
|
||||
private readonly ILxmInfraDataService _lxmInfraDataService;
|
||||
|
||||
public AnsyLxmDataJob(ILxmInfraDataService lxmInfraDataService)
|
||||
{
|
||||
_lxmInfraDataService = lxmInfraDataService;
|
||||
}
|
||||
|
||||
|
||||
public void Execute(IJobExecutionContext context)
|
||||
{
|
||||
_lxmInfraDataService.AnsyLxmDataIntoMyql();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
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 AnsyLxmHasGiftJob : IJob
|
||||
{
|
||||
|
||||
private readonly ILxmInfraDataService _lxmInfraDataService;
|
||||
|
||||
public AnsyLxmHasGiftJob(ILxmInfraDataService lxmInfraDataService)
|
||||
{
|
||||
_lxmInfraDataService = lxmInfraDataService;
|
||||
}
|
||||
|
||||
|
||||
public void Execute(IJobExecutionContext context)
|
||||
{
|
||||
_lxmInfraDataService.BuChongOrderHasGift();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
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 AnsyLxmServiceOrderJob : IJob
|
||||
{
|
||||
|
||||
private readonly ILxmInfraDataService _lxmInfraDataService;
|
||||
|
||||
public AnsyLxmServiceOrderJob(ILxmInfraDataService lxmInfraDataService)
|
||||
{
|
||||
_lxmInfraDataService = lxmInfraDataService;
|
||||
}
|
||||
|
||||
|
||||
public void Execute(IJobExecutionContext context)
|
||||
{
|
||||
_lxmInfraDataService.SyncServiceOrder();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
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