using Microsoft.AspNetCore.Mvc;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseController;
|
using WIDESEA_DTO.PLS;
|
using WIDESEA_DTO;
|
using WIDESEA_IInboundService;
|
using WIDESEA_Model.Models;
|
using Microsoft.AspNetCore.Authorization;
|
|
namespace WIDESEA_WMSServer.Controllers.Inbound
|
{
|
[Route("api/MoInboundOrder")]
|
[ApiController]
|
public class MoInboundOrderController : ApiBaseController<IMoInboundOrderService, Dt_MoInboundOrder>
|
{
|
public MoInboundOrderController(IMoInboundOrderService service) : base(service)
|
{
|
}
|
|
/// <summary>
|
/// 同步MO票信息
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
[HttpPost, HttpGet, Route("ReceiveMoStatus"),AllowAnonymous]
|
public ApiResponseContent ReceiveMoStatus([FromBody] MoInboundOrderDTO model)
|
{
|
return Service.ReceiveMoStatus(model);
|
}
|
}
|
}
|