This commit is contained in:
2025-09-19 09:52:24 +08:00
parent 7a212d5890
commit e9d7d9c9ae
5 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
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();
}
}
}