From ce08db7fdb31a61c6ee672d89d6c4b4b66c1f6d6 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期四, 16 一月 2025 14:41:51 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 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" index 02391d2..86f2e77 100644 --- "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" @@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Mvc; using WIDESEA_Core; using WIDESEA_Core.BaseController; +using WIDESEA_Core.CodeConfigEnum; using WIDESEA_DTO.Inbound; using WIDESEA_DTO.Outbound; using WIDESEA_IOutboundService; @@ -11,6 +12,9 @@ namespace WIDESEA_WMSServer.Controllers.Outbound { + /// <summary> + /// 鍑哄簱鍗� + /// </summary> [Route("api/OutboundOrder")] [ApiController] public class OutboundOrderController : ApiBaseController<IOutboundOrderService, Dt_OutboundOrder> @@ -20,5 +24,55 @@ } + /// <summary> + /// + /// </summary> + /// <param name="id"></param> + /// <returns></returns> + [HttpPost, Route("TestOutUpload"), AllowAnonymous] + public WebResponseContent TestOutUpload(int id) + { + return Service.TestOutUpload(id); + } + /// <summary> + /// 鑾峰彇鍑哄簱鍗� + /// </summary> + /// <param name="saveModel"></param> + /// <returns></returns> + [HttpPost, Route("GetOutboundOrders"), AllowAnonymous] + public WebResponseContent GetOutboundOrders([FromBody] SaveModel saveModel) + { + return Service.GetOutboundOrders(saveModel); + } + /// <summary> + /// 鍑哄钩搴撳簱瀛� + /// </summary> + /// <param name="saveModel"></param> + /// <returns></returns> + [HttpPost, Route("outpinku"), AllowAnonymous] + public WebResponseContent outpinku([FromBody] SaveModel saveModel) + { + return Service.outpinku(saveModel); + } + /// <summary> + /// 鍙戞枡鍗曞彿鐢熸垚 + /// </summary> + /// <returns></returns> + [HttpPost, Route("CreateCodeByRule"), AllowAnonymous] + public string CreateCodeByRule(string ruleCode) + { + return Service.CreateCodeByRule(nameof(RuleCodeEnum.FLCodeRule)); + } + /// <summary> + /// 浣跨敤鍑哄簱鍗曞畬鎴怑RP鍑哄簱鎺ㄩ�� + /// </summary> + /// <param name="outId">鍑哄簱鍗旾D</param> + /// <param name="WarehouseCode">浠撳簱浠e彿</param> + /// <returns></returns> + [HttpPost, Route("PushERPOutBound"), AllowAnonymous] + public WebResponseContent PushERPOutBound(int outId, string WarehouseCode) + { + return Service.PushERPOutBound(outId, WarehouseCode); + } } } -- Gitblit v1.9.3