From 55593948504f045a8dfac2f34c7e7ef0c86507d7 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 12 三月 2026 19:17:10 +0800
Subject: [PATCH] 优化成品库移库任务逻辑

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs"
index 21b41a2..62f4f3c 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs"
@@ -4,6 +4,7 @@
 using Microsoft.VisualBasic.FileIO;
 using Quartz;
 using SixLabors.ImageSharp.PixelFormats;
+using SqlSugar;
 using System;
 using System.Collections.Generic;
 using System.ComponentModel;
@@ -13,6 +14,7 @@
 using System.Threading.Tasks;
 using WIDESEAWCS_Common.TaskEnum;
 using WIDESEAWCS_Communicator;
+using WIDESEAWCS_Core.BaseRepository;
 using WIDESEAWCS_Core.Helper;
 using WIDESEAWCS_IBasicInfoService;
 using WIDESEAWCS_ITaskInfoService;
@@ -29,18 +31,25 @@
         private readonly ITaskService _taskService;
         private readonly IApiInfoService _apiInfoService;
         private readonly IRGVLocationInfoService _rGVLocationInfoService;
-        public TaskJob(ITaskService taskService, IApiInfoService apiInfoService, IRGVLocationInfoService rGVLocationInfoService)
+        private readonly IStationMangerService _stationMangerService;
+        private readonly ITrackloginfoService _trackloginfoService;
+        private readonly IUnitOfWorkManage _unitOfWorkManage;
+
+        public TaskJob(ITaskService taskService, IApiInfoService apiInfoService, IRGVLocationInfoService rGVLocationInfoService, IStationMangerService stationMangerService, ITrackloginfoService trackloginfoService, IUnitOfWorkManage unitOfWorkManage)
         {
             _taskService = taskService;//娉ㄥ叆
             _apiInfoService = apiInfoService;
             _rGVLocationInfoService = rGVLocationInfoService;
+            _stationMangerService = stationMangerService;
+            _trackloginfoService = trackloginfoService;
+            _unitOfWorkManage = unitOfWorkManage;
         }
 
         public Task Execute(IJobExecutionContext context)
         {
             try
             {
-                SendTask();
+                SendNewTask();
 
                 SendWaitToTask();
             }

--
Gitblit v1.9.3