using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseController;
|
using WIDESEA_ISquareCabinServices;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_WMSServer.Controllers
|
{
|
[Route("api/DeliveryOrder")]
|
[ApiController]
|
public class DeliveryOrderController : ApiBaseController<IDeliveryOrderServices, Dt_DeliveryOrder>
|
{
|
public DeliveryOrderController(IDeliveryOrderServices service) : base(service)
|
{
|
}
|
|
|
[HttpPost,Route("GetUpstreamOutOrder"),AllowAnonymous]
|
public WebResponseContent GetUpstreamOutOrder()
|
{
|
return Service.GetUpstreamOutOrder();
|
}
|
|
/// 查询盘点单信息
|
/// </summary>
|
/// <returns></returns>
|
[HttpPost, HttpGet, Route("GetPdDeliveryOrders")]
|
public WebResponseContent GetPdDeliveryOrders([FromBody] SaveModel saveModel)
|
{
|
return Service.GetPdDeliveryOrders(saveModel);
|
}
|
|
/// 查询单信息
|
/// </summary>
|
/// <returns></returns>
|
[HttpPost, HttpGet, Route("GetDeliveryOrders")]
|
public WebResponseContent GetDeliveryOrders([FromBody] SaveModel saveModel)
|
{
|
return Service.GetDeliveryOrders(saveModel);
|
}
|
|
/// 查询单详情信息
|
/// </summary>
|
/// <returns></returns>
|
[HttpPost, HttpGet, Route("GetDeliveryOrderDetail")]
|
public WebResponseContent GetDeliveryOrderDetail(int pageNo, string orderNo, bool isPick)
|
{
|
return Service.GetDeliveryOrderDetail(pageNo, orderNo,isPick);
|
}
|
|
[HttpPost, HttpGet, Route("MatPicking")]
|
public WebResponseContent MatPicking([FromBody] SaveModel saveModel)
|
{
|
return Service.MatPicking(saveModel);
|
}
|
|
[HttpPost, HttpGet, Route("FeedbackOut")]
|
public WebResponseContent FeedbackOut([FromBody] SaveModel saveModel)
|
{
|
return Service.FeedbackOut(saveModel);
|
}
|
|
/// <summary>
|
/// 盘点出库接口
|
/// </summary>
|
/// <param name="externalOrderNo"></param>
|
/// <returns></returns>
|
[HttpPost, Route("InventoryGood"), AllowAnonymous]
|
public WebResponseContent InventoryGood(string externalOrderNo)
|
{
|
return Service.InventoryGood(externalOrderNo);
|
}
|
|
///调拨出库
|
}
|
}
|