From fe2a1e74780259605cd230e6f9c629c3dd7fdf15 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 10 四月 2026 20:19:06 +0800
Subject: [PATCH] feat: 添加消防任务支持并修复堆垛机状态处理

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
index fe278a6..2e33fbc 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -19,6 +19,7 @@
 using WIDESEA_DTO.Stock;
 using WIDESEA_DTO.Task;
 using WIDESEA_IBasicService;
+using WIDESEA_IRecordService;
 using WIDESEA_IStockService;
 using WIDESEA_ITaskInfoService;
 using WIDESEA_Model.Models;
@@ -37,6 +38,7 @@
         private readonly ITask_HtyService _task_HtyService;
         private readonly IStockInfo_HtyService _stockInfo_HtyService;
         private readonly IUnitOfWorkManage _unitOfWorkManage;
+        private readonly IRecordService _recordService;
 
         public IRepository<Dt_Task> Repository => BaseDal;
 
@@ -60,7 +62,8 @@
             IMesService mesService,
             ITask_HtyService task_HtyService,
             IStockInfo_HtyService stockInfo_HtyService,
-            IUnitOfWorkManage unitOfWorkManage) : base(BaseDal)
+            IUnitOfWorkManage unitOfWorkManage,
+            IRecordService recordService) : base(BaseDal)
         {
             _mapper = mapper;
             _stockInfoService = stockInfoService;
@@ -72,6 +75,7 @@
             _task_HtyService = task_HtyService;
             _stockInfo_HtyService = stockInfo_HtyService;
             _unitOfWorkManage = unitOfWorkManage;
+            _recordService = recordService;
         }
 
         /// <summary>
@@ -165,6 +169,5 @@
 
             return _roundRobinService.GetNextAddress(matchedPrefix, addresses);
         }
-
     }
-}
+}
\ No newline at end of file

--
Gitblit v1.9.3