From 5af11cc200dd5ebe474b9c0475883b0e6d1e3759 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期三, 11 三月 2026 10:00:49 +0800
Subject: [PATCH] 重构整个项目:改进代码质量和架构
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/RecordService.cs | 29 ++++++++++++++++++++---------
1 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/RecordService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/RecordService.cs
index 5b98765..7a8c6b8 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/RecordService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/RecordService.cs
@@ -1,21 +1,32 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using WIDESEA_IRecordService;
+锘縰sing WIDESEA_IRecordService;
namespace WIDESEA_RecordService
{
+ /// <summary>
+ /// 璁板綍鏈嶅姟鑱氬悎瀹炵幇绫�
+ /// </summary>
public class RecordService : IRecordService
{
- public ILocationStatusChangeRecordService LocationStatusChangeRecordSetvice { get; }
+ /// <summary>
+ /// 璐т綅鐘舵�佸彉鏇磋褰曟湇鍔�
+ /// </summary>
+ public ILocationStatusChangeRecordService LocationStatusChangeRecordService { get; }
+ /// <summary>
+ /// 搴撳瓨鏁伴噺鍙樻洿璁板綍鏈嶅姟
+ /// </summary>
public IStockQuantityChangeRecordService StockQuantityChangeRecordService { get; }
- public RecordService(ILocationStatusChangeRecordService locationStatusChangeRecordSetvice, IStockQuantityChangeRecordService stockQuantityChangeRecordService)
+ /// <summary>
+ /// 鏋勯�犲嚱鏁�
+ /// </summary>
+ /// <param name="locationStatusChangeRecordService">璐т綅鐘舵�佸彉鏇磋褰曟湇鍔�</param>
+ /// <param name="stockQuantityChangeRecordService">搴撳瓨鏁伴噺鍙樻洿璁板綍鏈嶅姟</param>
+ public RecordService(
+ ILocationStatusChangeRecordService locationStatusChangeRecordService,
+ IStockQuantityChangeRecordService stockQuantityChangeRecordService)
{
- LocationStatusChangeRecordSetvice = locationStatusChangeRecordSetvice;
+ LocationStatusChangeRecordService = locationStatusChangeRecordService;
StockQuantityChangeRecordService = stockQuantityChangeRecordService;
}
}
--
Gitblit v1.9.3