From 9a0acba23c5b5095be2a89b8ca190fe5202c2ea6 Mon Sep 17 00:00:00 2001 From: duyongjia <adu_555@163.com> Date: 星期日, 29 十二月 2024 15:58:45 +0800 Subject: [PATCH] 最新修改 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" index 15d4466..0a7cba6 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" @@ -6,7 +6,10 @@ using WIDESEA_IBasicRepository; using WIDESEA_IStockRepository; using WIDESEA_IStockService; +using WIDESEA_Model; using WIDESEA_Model.Models; +using WIDESEA_Model.Models.System.Reponse; +using WIDESEA_Model.Models.System.Request; namespace WIDESEA_WMSServer.Controllers.Stock { @@ -34,5 +37,30 @@ { return Service.Repository.GetPalletStockInfo(roadwayNo); } + + /// <summary> + /// 绔嬪簱WMS搴撳瓨淇℃伅鎺ュ彛锛屼緵涓婃父绯荤粺璋冪敤 + /// </summary> + /// <param name="inventoryQueryRequest"></param> + /// <returns></returns> + [HttpPost, Route("inventoryQuery"), AllowAnonymous] + public InventoryQueryResponse InventoryQuery([FromBody] string inventoryQueryRequest) + { + return Service.Repository.InventoryQuery(inventoryQueryRequest); + } + + + /// <summary> + /// 绔嬪簱WMS鍐荤粨/瑙e喕淇℃伅鎺ュ彛锛屼緵涓婃父绯荤粺璋冪敤 + /// </summary> + /// <param name="freezeRequest"></param> + /// <returns></returns> + [HttpPost, Route("freezeByCustomer"), AllowAnonymous] + public freezeByCustomerResponse freezeByCustomer([FromBody] string freezeRequest) + { + return Service.Repository.freezeByCustomer(freezeRequest); + + } + } } -- Gitblit v1.9.3