From 4b483d9d06bead231b88ca212fd799196668a057 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 28 四月 2026 22:58:27 +0800
Subject: [PATCH] fix(任务服务): 修复出库任务选择逻辑和货位分配问题

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
index 241396b..77f62a8 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -42,6 +42,7 @@
         private readonly IMESDeviceConfigService _mesDeviceConfigService;
         private readonly IMesLogService _mesLogService;
         private readonly IMesUploadHelper _mesUploadHelper;
+        private readonly ISqlSugarClient _sqlSugarClient;
 
         public IRepository<Dt_Task> Repository => BaseDal;
 
@@ -69,7 +70,8 @@
             IRecordService recordService,
             IMESDeviceConfigService mesDeviceConfigService,
             IMesLogService mesLogService,
-            IMesUploadHelper mesUploadHelper) : base(BaseDal)
+            IMesUploadHelper mesUploadHelper,
+            ISqlSugarClient sqlSugarClient) : base(BaseDal)
         {
             _mapper = mapper;
             _stockInfoService = stockInfoService;
@@ -85,6 +87,7 @@
             _mesDeviceConfigService = mesDeviceConfigService;
             _mesLogService = mesLogService;
             _mesUploadHelper = mesUploadHelper;
+            _sqlSugarClient = sqlSugarClient;
         }
 
         /// <summary>

--
Gitblit v1.9.3