From 91ce12227476cf87aa5672a741d9ca6eb6bf508c Mon Sep 17 00:00:00 2001
From: libo <Administrator@DESKTOP-1A6QMNS>
Date: 星期一, 31 三月 2025 10:06:31 +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