From fac6be89f3a02270b7b4a1bbe1f0dc05788c368e Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 21 四月 2026 13:19:53 +0800
Subject: [PATCH] Merge branch 'dev' of http://115.159.85.185:8098/r/SuZhouGuanHong/ShanMeiXinNengYuan into dev
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IMesUploadHelper.cs | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IMesUploadHelper.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IMesUploadHelper.cs
new file mode 100644
index 0000000..705c340
--- /dev/null
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IMesUploadHelper.cs
@@ -0,0 +1,28 @@
+using WIDESEA_Common.StockEnum;
+using WIDESEA_Core;
+
+namespace WIDESEA_IBasicService
+{
+ /// <summary>
+ /// MES寮傛涓婁紶杈呭姪鏈嶅姟 - 灏佽Task.Run + 鐘舵�佹洿鏂� + 鏃ュ織璁板綍鐨勭粺涓�妯″紡
+ /// </summary>
+ public interface IMesUploadHelper : IDependency
+ {
+ /// <summary>
+ /// 浠ire-and-forget鏂瑰紡寮傛鎵цMES璋冪敤锛岃嚜鍔ㄦ洿鏂颁笂浼犵姸鎬佸苟璁板綍鏃ュ織
+ /// </summary>
+ /// <param name="palletCode">鎵樼洏鍙�</param>
+ /// <param name="successStatus">鎴愬姛鏃剁殑鐘舵�佹灇涓惧�硷紙濂囨暟=鎴愬姛锛屽伓鏁�=澶辫触锛�</param>
+ /// <param name="apiType">MES鎺ュ彛绫诲瀷鍚嶇О</param>
+ /// <param name="requestJson">璇锋眰JSON锛堢敤浜庢棩蹇楄褰曪級</param>
+ /// <param name="mesCall">MES璋冪敤濮旀墭锛岃繑鍥�(鏄惁鎴愬姛, 鍝嶅簲JSON, 閿欒娑堟伅)</param>
+ /// <param name="creator">鎿嶄綔浜�</param>
+ void FireAndForget(
+ string palletCode,
+ MesUploadStatusEnum successStatus,
+ string apiType,
+ string requestJson,
+ Func<(bool isSuccess, string responseJson, string errorMessage)> mesCall,
+ string creator = "System");
+ }
+}
--
Gitblit v1.9.3