From b690250002ee04f4309e6a90fd16fbfd9bd959e2 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 01 五月 2026 23:11:23 +0800
Subject: [PATCH] feat(router): 添加托盘操作页面路由
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs | 23 ++++++++---------------
1 files changed, 8 insertions(+), 15 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
index 2367be1..b5fe575 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -1,23 +1,14 @@
-using Mapster;
using MapsterMapper;
using Microsoft.Extensions.Configuration;
-using SqlSugar;
-using System.DirectoryServices.Protocols;
-using System.Text.Json;
-using WIDESEA_Common.Constants;
-using WIDESEA_Common.LocationEnum;
-using WIDESEA_Common.StockEnum;
-using WIDESEA_Common.TaskEnum;
-using WIDESEA_Common.WareHouseEnum;
+using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
+using SqlSugar;
+using WIDESEA_Common.Constants;
+using WIDESEA_Common.TaskEnum;
using WIDESEA_Core;
using WIDESEA_Core.BaseRepository;
using WIDESEA_Core.BaseServices;
using WIDESEA_Core.Core;
-using WIDESEA_Core.Enums;
-using WIDESEA_Core.Helper;
-using WIDESEA_DTO.GradingMachine;
-using WIDESEA_DTO.MES;
using WIDESEA_DTO.Task;
using WIDESEA_IBasicService;
using WIDESEA_IRecordService;
@@ -45,6 +36,7 @@
private readonly IMesUploadHelper _mesUploadHelper;
private readonly ISqlSugarClient _sqlSugarClient;
private readonly IOptionsMonitor<OutboundTimeConfigOptions> _outboundTimeOptions;
+ private readonly ILogger<TaskService> _logger;
public IRepository<Dt_Task> Repository => BaseDal;
@@ -74,7 +66,8 @@
IMesLogService mesLogService,
IMesUploadHelper mesUploadHelper,
ISqlSugarClient sqlSugarClient,
- IOptionsMonitor<OutboundTimeConfigOptions> outboundTimeOptions) : base(BaseDal)
+ IOptionsMonitor<OutboundTimeConfigOptions> outboundTimeOptions,
+ ILogger<TaskService> logger) : base(BaseDal)
{
_mapper = mapper;
_stockInfoService = stockInfoService;
@@ -92,6 +85,7 @@
_mesUploadHelper = mesUploadHelper;
_sqlSugarClient = sqlSugarClient;
_outboundTimeOptions = outboundTimeOptions;
+ _logger = logger;
}
/// <summary>
@@ -206,6 +200,5 @@
// Remark 涓虹┖鏃讹紝鍥為��鍒板贩閬撻厤缃�
return DetermineTargetAddress(roadway, addressMap);
}
-
}
}
\ No newline at end of file
--
Gitblit v1.9.3