From 966d1fe6077c885db064fcea98bb48cbccb464d6 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期一, 14 十月 2024 17:23:02 +0800 Subject: [PATCH] WCS --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Dt_InboundOrderDetailController.cs | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Dt_InboundOrderDetailController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Dt_InboundOrderDetailController.cs" new file mode 100644 index 0000000..3b50e44 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Dt_InboundOrderDetailController.cs" @@ -0,0 +1,29 @@ +锘縰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); + } + } +} -- Gitblit v1.9.3