From 57feefd4c9cd84de47b21b811638054373d4a46e Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 21 四月 2026 00:17:58 +0800
Subject: [PATCH] refactor(StockInfoDetailController): MES调用改为Task.Run异步执行

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs
index 163d16d..3c886c7 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs
@@ -1,5 +1,7 @@
-锘縰sing WIDESEA_Core.BaseRepository;
+using WIDESEA_Core;
+using WIDESEA_Core.BaseRepository;
 using WIDESEA_Core.BaseServices;
+using WIDESEA_DTO.Stock;
 using WIDESEA_Model.Models;
 
 namespace WIDESEA_IStockService
@@ -48,5 +50,27 @@
         /// <param name="locationCode">璐т綅缂栫爜</param>
         /// <returns>搴撳瓨淇℃伅</returns>
         Task<Dt_StockInfo> GetStockInfoAsync(string palletCode, string locationCode);
+
+        /// <summary>
+        /// 鑾峰彇浠撳簱3D甯冨眬鏁版嵁
+        /// </summary>
+        /// <param name="warehouseId">浠撳簱ID</param>
+        /// <returns>3D甯冨眬DTO</returns>
+        Task<Stock3DLayoutDTO> Get3DLayoutAsync(int warehouseId);
+
+        /// <summary>
+        /// 浣跨敤浜嬪姟鍒犻櫎搴撳瓨鍜屾槑缁嗕俊鎭紙鍏堟煡璇㈠啀鍒犻櫎锛�
+        /// </summary>
+        /// <param name="stockId">搴撳瓨ID</param>
+        /// <returns>鍒犻櫎缁撴灉</returns>
+        Task<WebResponseContent> DeleteStockWithDetailsAsync(int stockId);
+
+        /// <summary>
+        /// 鏇存柊MES涓婁紶鐘舵��
+        /// </summary>
+        /// <param name="palletCode">鎵樼洏鍙�</param>
+        /// <param name="status">MES涓婁紶鐘舵�佸��</param>
+        /// <returns>鏇存柊鏄惁鎴愬姛</returns>
+        Task<bool> UpdateMesUploadStatusAsync(string palletCode, int status);
     }
 }

--
Gitblit v1.9.3