From c020f31a67fc5aa5644511bddff075f7ecc85234 Mon Sep 17 00:00:00 2001 From: qinchulong <qinchulong@hnkhzn.com> Date: 星期二, 27 五月 2025 15:35:27 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/HuaYiZhongHeng/ZhongHeLiTiKu --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs" new file mode 100644 index 0000000..0fc367f --- /dev/null +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs" @@ -0,0 +1,34 @@ +锘縰sing 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); + } + } +} -- Gitblit v1.9.3