This commit is contained in:
2025-07-12 16:58:00 +08:00
parent 99bbfe3c95
commit 99b9a65b3c
19 changed files with 366 additions and 39 deletions

View File

@@ -4,6 +4,7 @@ using MyCode.Project.Services;
using System.Collections.Generic;
using System;
using System.Web.Http;
using MyCode.Project.Domain.ZHMDModel;
namespace MyCode.Project.WebApi.Controllers
{
@@ -14,9 +15,13 @@ namespace MyCode.Project.WebApi.Controllers
{
private IJackYunTaskService _jackYunTaskService;
public TestController(IJackYunTaskService jackYunTaskService)
private IWMSService _wMSService;
public TestController(IJackYunTaskService jackYunTaskService, IWMSService wMSService )
{
_jackYunTaskService = jackYunTaskService;
_wMSService = wMSService;
}
#region
@@ -32,6 +37,20 @@ namespace MyCode.Project.WebApi.Controllers
}
#endregion
#region WMS订单
/// <summary>
/// 抓WMS订单
/// </summary>
[HttpGet]
[AllowAnonymous]
public List<WMStoJackyunInventoryMovementView1> GetList(DateTime now)
{
return _wMSService.GetList(now);
}
#endregion
//#region 订单查询
///// <summary>