From 343d512ed92c75f406c485fa7a247261a13aefb0 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 21 四月 2026 00:18:13 +0800
Subject: [PATCH] refactor(StockInfoController): MES调用改为Task.Run异步执行
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs
index c1af291..3c886c7 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs
@@ -1,4 +1,5 @@
-锘縰sing WIDESEA_Core.BaseRepository;
+using WIDESEA_Core;
+using WIDESEA_Core.BaseRepository;
using WIDESEA_Core.BaseServices;
using WIDESEA_DTO.Stock;
using WIDESEA_Model.Models;
@@ -56,5 +57,20 @@
/// <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