From c69b6892e9e004db9cf5d0edc69bbd2fcc1d83db Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期一, 15 十二月 2025 16:41:44 +0800
Subject: [PATCH] 1
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs | 43 +++++++++++++++++++++++++------------------
1 files changed, 25 insertions(+), 18 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 3881f84..540f018 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"
@@ -12,43 +12,50 @@
{
}
+
/// <summary>
/// 鏍规嵁鐗╂枡缂栫爜鑾峰彇搴撳瓨鍙敤閲忚鍥�
/// </summary>
/// <param name="materielCode"></param>
/// <returns></returns>
[HttpPost, HttpGet, Route("GetStockSelectViews"), AllowAnonymous]
- public List<StockSelectViewDTO> GetStockSelectViews(string materielCode)
+ public List<StockSelectViewDTO> GetStockSelectViews([FromBody] GetStockSelectViewDto viewDto)
{
- return Service.GetStockSelectViews(materielCode);
+ return Service.GetStockSelectViews(viewDto);
}
+
/// <summary>
- /// 缁勭洏
+ /// PDA鑾峰彇搴撳瓨瑙嗗浘
/// </summary>
/// <param name="groupPlate"></param>
/// <returns></returns>
- [HttpPost, HttpGet, Route("AddGroupPlateAsync"), AllowAnonymous]
- public Task<WebResponseContent> AddGroupPlateAsync([FromBody] GroupPlate groupPlate)
+ [HttpPost, HttpGet, Route("GetStockView"), AllowAnonymous]
+ public WebResponseContent GetStockView([FromBody] GetStockSelectViewDto viewDto)
{
- return Service.AddGroupPlateAsync(groupPlate);
+ 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);
}
/// <summary>
- /// 瑙g洏
+ /// 鐗规畩鍑哄簱
/// </summary>
- /// <param name="groupPlate"></param>
+ /// <param name="details"></param>
/// <returns></returns>
- [HttpPost, HttpGet, Route("DeleteGroupPlateAsync"), AllowAnonymous]
- public Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate)
+ [HttpPost, HttpGet, Route("UpdateDataStockDetail"), AllowAnonymous]
+ public WebResponseContent UpdateDataStockDetail([FromBody]List<DtStockInfoDetail> details)
{
- return Service.DeleteGroupPlateAsync(groupPlate);
+ return Service.UpdateDataStockDetail(details);
}
-
- [HttpPost, HttpGet, Route("GenerateOutboundTask"), AllowAnonymous]
- public WebResponseContent GenerateOutboundTask([FromBody] GenerateOutTaskDto requestOut)
- {
- return Service.GenerateOutboundTask(requestOut);
- }
-
}
\ No newline at end of file
--
Gitblit v1.9.3