qinchulong
2025-05-27 c020f31a67fc5aa5644511bddff075f7ecc85234
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs
对比新文件
@@ -0,0 +1,34 @@
锘縰sing Autofac.Core;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO.Inbound;
using WIDESEA_DTO.Outbound;
using WIDESEA_IOutboundService;
using WIDESEA_Model.Models;
namespace WIDESEA_WMSServer.Controllers.Outbound
{
    [Route("api/OutboundOrder")]
    [ApiController]
    public class OutboundOrderController : ApiBaseController<IOutboundOrderService, Dt_OutboundOrder>
    {
        public OutboundOrderController(IOutboundOrderService service) : base(service)
        {
        }
        [HttpPost, Route("GetOutboundOrder"), AllowAnonymous]
        public WebResponseContent GetOutboundOrder([FromBody] OutboundOrderGetDTO outboundOrderGetDTO)
        {
            return Service.GetOutboundOrder(outboundOrderGetDTO);
        }
        [HttpPost, Route("GetOutboundOrderDetail"), AllowAnonymous]
        public WebResponseContent GetOutboundOrderDetail([FromBody] string OrderNo)
        {
            return Service.GetOutboundOrderDetail(OrderNo);
        }
    }
}