2025-09-19 09:52:24 +08:00

28 lines
569 B
C#

using MyCode.Project.Services;
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 AddWMSOrderJob : IJob
{
private IWMSService _wMSService;
public AddWMSOrderJob(IWMSService wMSService)
{
_wMSService = wMSService;
}
public void Execute(IJobExecutionContext context)
{
_wMSService.AddWMSTask();
}
}
}