From 885092869d8a27a0b77d6e55d3dd3f00f29e8002 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期四, 04 十二月 2025 15:45:48 +0800
Subject: [PATCH] 1
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs | 40 ++++++++++++++++++++++++++++++++++++----
1 files changed, 36 insertions(+), 4 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs"
index a4d285c..464fbd3 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs"
@@ -1,4 +1,6 @@
-锘縰sing WIDESEA_IStorageBasicService;
+锘縰sing WIDESEA_DTO.Basic;
+using WIDESEA_DTO.Stock;
+using WIDESEA_IStorageBasicService;
namespace WIDESEA_WMSServer.Controllers;
@@ -8,11 +10,41 @@
{
public StockInfoController(IStockInfoService service) : base(service)
{
+
}
- [HttpGet, AllowAnonymous, Route("GetLocationByStockType")]
- public Task<Dictionary<string, int>> GetLocationByStockType(bool stockType, string areaCode)
+ /// <summary>
+ /// 鏍规嵁鐗╂枡缂栫爜鑾峰彇搴撳瓨鍙敤閲忚鍥�
+ /// </summary>
+ /// <param name="materielCode"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("GetStockSelectViews"), AllowAnonymous]
+ public List<StockSelectViewDTO> GetStockSelectViews([FromBody] GetStockSelectViewDto viewDto)
{
- return Service.GetLocationByStockType(stockType, areaCode);
+ return Service.GetStockSelectViews(viewDto);
+ }
+
+
+ /// <summary>
+ /// PDA鑾峰彇搴撳瓨瑙嗗浘
+ /// </summary>
+ /// <param name="groupPlate"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("GetStockView"), AllowAnonymous]
+ public WebResponseContent GetStockView([FromBody] GetStockSelectViewDto viewDto)
+ {
+ return Service.GetStockView(viewDto);
+ }
+
+ [HttpPost, HttpGet, Route("GetStockData"), AllowAnonymous]
+ public Task<WebResponseContent> GetStockData()
+ {
+ return Service.GetStockData();
+ }
+
+ [HttpPost, HttpGet, Route("PrintOrder"), AllowAnonymous]
+ public Task<WebResponseContent> PrintOrder([FromBody]object[] key)
+ {
+ return Service.PrintOrder(key);
}
}
\ No newline at end of file
--
Gitblit v1.9.3