From 0b2869539598059704e1d208e2bcb18603b0fe0f Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 01 五月 2026 00:00:30 +0800
Subject: [PATCH] feat(出库时效): 添加出库时效配置功能

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
index 1bee12d..2367be1 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -9,6 +9,7 @@
 using WIDESEA_Common.StockEnum;
 using WIDESEA_Common.TaskEnum;
 using WIDESEA_Common.WareHouseEnum;
+using Microsoft.Extensions.Options;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseRepository;
 using WIDESEA_Core.BaseServices;
@@ -17,7 +18,6 @@
 using WIDESEA_Core.Helper;
 using WIDESEA_DTO.GradingMachine;
 using WIDESEA_DTO.MES;
-using WIDESEA_DTO.Stock;
 using WIDESEA_DTO.Task;
 using WIDESEA_IBasicService;
 using WIDESEA_IRecordService;
@@ -42,6 +42,9 @@
         private readonly IRecordService _recordService;
         private readonly IMESDeviceConfigService _mesDeviceConfigService;
         private readonly IMesLogService _mesLogService;
+        private readonly IMesUploadHelper _mesUploadHelper;
+        private readonly ISqlSugarClient _sqlSugarClient;
+        private readonly IOptionsMonitor<OutboundTimeConfigOptions> _outboundTimeOptions;
 
         public IRepository<Dt_Task> Repository => BaseDal;
 
@@ -68,7 +71,10 @@
             IUnitOfWorkManage unitOfWorkManage,
             IRecordService recordService,
             IMESDeviceConfigService mesDeviceConfigService,
-            IMesLogService mesLogService) : base(BaseDal)
+            IMesLogService mesLogService,
+            IMesUploadHelper mesUploadHelper,
+            ISqlSugarClient sqlSugarClient,
+            IOptionsMonitor<OutboundTimeConfigOptions> outboundTimeOptions) : base(BaseDal)
         {
             _mapper = mapper;
             _stockInfoService = stockInfoService;
@@ -83,6 +89,9 @@
             _recordService = recordService;
             _mesDeviceConfigService = mesDeviceConfigService;
             _mesLogService = mesLogService;
+            _mesUploadHelper = mesUploadHelper;
+            _sqlSugarClient = sqlSugarClient;
+            _outboundTimeOptions = outboundTimeOptions;
         }
 
         /// <summary>
@@ -197,5 +206,6 @@
             // Remark 涓虹┖鏃讹紝鍥為��鍒板贩閬撻厤缃�
             return DetermineTargetAddress(roadway, addressMap);
         }
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3