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

@@ -26,5 +26,10 @@ namespace MyCode.Project.Services
/// 添加“合并吉客云订单到新表”的任务
/// </summary>
void AddMergeJackYunOrder();
/// <summary>
/// 添加WMS抓单的调度
/// </summary>
void AddWMSTask();
}
}

View File

@@ -46,6 +46,21 @@ namespace MyCode.Project.Services.Implementation
_workProcessService.Add<IJackYunTaskService>(this.MerchantId, "TaskGetJackYunOrder", "调度运行抓吉客云销售订单", now.ToString("yyyy-MM-dd"), 1);
}
#endregion
#region AddWMSTask(WMS抓单的调度)
/// <summary>
/// 添加WMS抓单的调度
/// </summary>
public void AddWMSTask()
{
DateTime now = DateTime.Now.Date;
_workProcessService.Add<IWMSService>(this.MerchantId, "GetList", "抓取WMS订单到本地数据库", now.Date.ToString("yyyy-MM-dd"), 1);
}
#endregion
public List<WMStoJackyunInventoryMovementView1> GetList(object now2)
{
DateTime now = DateTime.Parse(now2.ToString());