dengjunjie
6 天以前 4f39dcc195f28fa275fc2d065fbf1bf6a46c21b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using 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);
        }
    }
}