29 lines
693 B
C#
29 lines
693 B
C#
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();
|
|
}
|
|
}
|
|
}
|