From 5ab6b36c0c4bd80a31dcdd9f15cc835b7352c4e7 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期四, 16 一月 2025 11:08:02 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 48 insertions(+), 2 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 c34fdbc..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; @@ -22,11 +23,56 @@ { } - [HttpPost,Route("TestOutUpload"),AllowAnonymous] + + /// <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