对比新文件 |
| | |
| | | 锘縰sing 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); |
| | | } |
| | | } |
| | | } |