From 64a2aa2301946f777659239247233e47ad1e3076 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期日, 12 四月 2026 11:54:15 +0800
Subject: [PATCH] feat(事务管理): 添加异步事务处理方法
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs
index f3f6996..5638b1a 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs
@@ -1,4 +1,4 @@
-锘縰sing AutoMapper;
+using MapsterMapper;
using WIDESEA_Core.BaseRepository;
using WIDESEA_Core.BaseServices;
using WIDESEA_IBasicService;
@@ -8,18 +8,32 @@
namespace WIDESEA_InboundService
{
+ /// <summary>
+ /// 鍏ュ簱鍗曟湇鍔″疄鐜扮被
+ /// </summary>
public class InboundOrderService : ServiceBase<Dt_InboundOrder, IRepository<Dt_InboundOrder>>, IInboundOrderService
{
private readonly IMapper _mapper;
private readonly IUnitOfWorkManage _unitOfWorkManage;
+ /// <summary>
+ /// 鑾峰彇鍏ュ簱鍗曚粨鍌ㄦ帴鍙�
+ /// </summary>
public IRepository<Dt_InboundOrder> Repository => BaseDal;
- public InboundOrderService(IRepository<Dt_InboundOrder> BaseDal, IMapper mapper, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal)
+ /// <summary>
+ /// 鏋勯�犲嚱鏁�
+ /// </summary>
+ /// <param name="baseDal">鍩虹鏁版嵁璁块棶瀵硅薄</param>
+ /// <param name="mapper">瀵硅薄鏄犲皠鍣�</param>
+ /// <param name="unitOfWorkManage">宸ヤ綔鍗曞厓绠$悊鍣�</param>
+ public InboundOrderService(
+ IRepository<Dt_InboundOrder> baseDal,
+ IMapper mapper,
+ IUnitOfWorkManage unitOfWorkManage) : base(baseDal)
{
_mapper = mapper;
_unitOfWorkManage = unitOfWorkManage;
}
-
}
}
--
Gitblit v1.9.3