From ba9c1994b95624b88ef606ec00394990d8f2009f Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期三, 15 四月 2026 19:41:27 +0800
Subject: [PATCH] refactor(TaskService): 重构任务服务代码结构,拆分文件并优化逻辑
---
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