qinchulong
2024-10-12 7281004dc3854ed59e9164dcd27a59c8c2cf6667
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
using Microsoft.AspNetCore.Mvc;
using WIDESEA_BusinessServices;
using WIDESEA_Core.BaseController;
using WIDESEA_IBusinessServices;
using WIDESEA_Model.Models;
 
namespace WIDESEA_WMSServer.Controllers
{
    [Route("api/Dt_InboundOrderDetail")]
    [ApiController]
    public class Dt_InboundOrderDetailController : ApiBaseController<IDt_InboundOrderDetailService, Dt_InboundOrderDetail>
    {
        private readonly IHttpContextAccessor _httpContextAccessor;
        public Dt_InboundOrderDetailController(IDt_InboundOrderDetailService service, IHttpContextAccessor httpContextAccessor) : base(service)
        {
            _httpContextAccessor = httpContextAccessor;
        }
        /// <summary>
        /// 根据入库订单ID获取入库订单明细信息
        /// </summary>
        /// <param name="InboundOrderID"></param>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("GetDetail"), AllowAnonymous]
        public WebResponseContent GetDetail(int InboundOrderID)
        {
            return Service.GetDetail(InboundOrderID);
        }
    }
}