From fd2b52ddb4f9a1fb5d342acad52ff3455249d022 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期一, 26 五月 2025 17:14:18 +0800 Subject: [PATCH] 1.期初条码打印——PDA --- Controllers/Warehouse/InventoryController.cs | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/Controllers/Warehouse/InventoryController.cs b/Controllers/Warehouse/InventoryController.cs index c4fca46..c732b8a 100644 --- a/Controllers/Warehouse/InventoryController.cs +++ b/Controllers/Warehouse/InventoryController.cs @@ -77,4 +77,55 @@ return ResponseResult.ResponseError(ex); } } + + /// <summary> + /// 鏈熷垵鎵撳嵃鎵弿搴撲綅鑾峰彇浠撳簱淇℃伅鍜屽簱瀛樼粍缁囦俊鎭� + /// </summary> + /// <param name="query"></param> + /// <returns></returns> + [HttpPost("GetDepoptsInfo")] + public ResponseResult GetDepoptsInfo([FromBody] WarehouseQuery query) + { + try + { + dynamic resultInfos = new ExpandoObject(); + resultInfos.tbBillList = m.GetDepoptsInfo(query); + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + + + /// <summary> + /// 鏈熷垵鎵撳嵃鎵弿搴撲綅鑾峰彇浠撳簱淇℃伅鍜屽簱瀛樼粍缁囦俊鎭� + /// </summary> + /// <param name="query"></param> + /// <returns></returns> + [HttpPost("GetItemsList")] + public ResponseResult GetItemsList([FromBody] dynamic query) + { + try + { + dynamic resultInfos = new ExpandoObject(); + resultInfos.tbBillList = m.GetItemsList(query); + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } } \ No newline at end of file -- Gitblit v1.9.3