From a7ceaaa38a4394b82501ca60230e97d25a6871e3 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期六, 18 一月 2025 17:30:33 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" index 7c94e72..a06defd 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" @@ -11,6 +11,9 @@ namespace WIDESEA_WMSServer.Controllers.Stock { + /// <summary> + /// 搴撳瓨 + /// </summary> [Route("api/StockInfo")] [ApiController] public class StockInfoController : ApiBaseController<IStockInfoService, Dt_StockInfo> @@ -19,11 +22,30 @@ { } + /// <summary> + /// 鏌ヨ璁㈠崟绔嬪簱搴撳瓨瑙嗗浘 + /// </summary> + /// <param name="orderId"></param> + /// <param name="materielCode"></param> + /// <returns></returns> [HttpPost, HttpGet, Route("GetStockSelectViews")] public List<StockSelectViewDTO> GetStockSelectViews(int orderId, string materielCode) { return Service.GetStockSelectViews(orderId, materielCode); } + + /// <summary> + /// 鏌ヨ璁㈠崟骞冲簱搴撳瓨瑙嗗浘 + /// </summary> + /// <param name="orderId"></param> + /// <param name="materielCode"></param> + /// <returns></returns> + [HttpPost, HttpGet, Route("GetPKStockSelectViews")] + public List<StockSelectViewDTO> GetPKStockSelectViews(int orderId, string materielCode) + { + return Service.GetPKStockSelectViews(orderId, materielCode); + } + /// <summary> /// 鏍规嵁鎵樼洏鍜屽簱鍖烘煡璇㈠簱瀛樹俊鎭� /// </summary> -- Gitblit v1.9.3