1
huangxiaoqiang
2025-10-23 82149871f30f4564d84272649352496a2ab0a38e
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
35
36
37
38
39
40
41
using Microsoft.AspNetCore.Mvc;
using WIDESEA_BusinessServices;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO.Order;
using WIDESEA_IBusinessServices;
using WIDESEA_IOrderServices;
using WIDESEA_Model.Models;
using WIDESEA_Model.Models.Basic;
using WIDESEA_Model.Models.Order;
using WIDESEAWCS_BasicInfoService;
 
namespace WIDESEA_WMSServer.Controllers
{
    [Route("api/OutboundOrder")]
    [ApiController]
    public class OutboundOrderController : ApiBaseController<IDt_OutboundOrderService, Dt_OutboundOrder>
    {
        private readonly IHttpContextAccessor _httpContextAccessor;
        public OutboundOrderController(IDt_OutboundOrderService service, IHttpContextAccessor httpContextAccessor) : base(service)
        {
            _httpContextAccessor = httpContextAccessor;
        }
 
        /// <summary>
        /// 获取出库单据信息
        /// </summary>
        /// <param name="outboundOrderGetDTO"></param>
        /// <returns></returns>
        [HttpPost, AllowAnonymous, Route("GetOutboundOrder")]
        public WebResponseContent GetOutboundOrder([FromBody]OutboundOrderGetDTO outboundOrderGetDTO)
        {
            return Service.GetOutboundOrder(outboundOrderGetDTO);
        }
 
        [HttpPost, AllowAnonymous, Route("GetOutboundOrderDetail")]
        public WebResponseContent GetOutboundOrder(int id)
        {
            return Service.GetOutboundOrder(id);
        }
    }
}