From b1f5b17a608d3d9c06ce216c7e1effc5edcc7b74 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 06 四月 2026 19:53:31 +0800
Subject: [PATCH] 更新机器人工作流逻辑、配置并添加电子表格

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_IRecordService/IRecordService.cs |   42 ++++++++++++++++++++++++++++++++++++------
 1 files changed, 36 insertions(+), 6 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_IRecordService/IRecordService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_IRecordService/IRecordService.cs
index 5c9e120..ea24123 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_IRecordService/IRecordService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_IRecordService/IRecordService.cs
@@ -1,16 +1,46 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using WIDESEA_Common.LocationEnum;
+using WIDESEA_Common.StockEnum;
 using WIDESEA_Core;
+using WIDESEA_Model.Models;
 
 namespace WIDESEA_IRecordService
 {
+    /// <summary>
+    /// 璁板綍鏈嶅姟鑱氬悎鎺ュ彛
+    /// </summary>
     public interface IRecordService : IDependency
     {
-        ILocationStatusChangeRecordService LocationStatusChangeRecordSetvice { get; }
+        /// <summary>
+        /// 璐т綅鐘舵�佸彉鏇磋褰曟湇鍔�
+        /// </summary>
+        ILocationStatusChangeRecordService LocationStatusChangeRecordService { get; }
 
+        /// <summary>
+        /// 搴撳瓨鏁伴噺鍙樻洿璁板綍鏈嶅姟
+        /// </summary>
         IStockQuantityChangeRecordService StockQuantityChangeRecordService { get; }
+
+        /// <summary>
+        /// 鏂板璐т綅鐘舵�佸彉鏇磋褰�
+        /// </summary>
+        Task<bool> AddLocationChangeRecordAsync(
+            Dt_LocationInfo beforeLocation,
+            Dt_LocationInfo afterLocation,
+            LocationChangeType changeType,
+            int? taskNum = null,
+            string? orderNo = null,
+            int? orderId = null,
+            string? remark = null);
+
+        /// <summary>
+        /// 鏂板搴撳瓨鍙樻洿璁板綍
+        /// </summary>
+        Task<bool> AddStockChangeRecordAsync(
+            Dt_StockInfo? beforeStock,
+            Dt_StockInfo? afterStock,
+            StockChangeTypeEnum changeType,
+            int? taskNum = null,
+            string? orderNo = null,
+            string? remark = null);
     }
 }

--
Gitblit v1.9.3