| | |
| | | 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; |
| | |
| | | private readonly IMesUploadHelper _mesUploadHelper; |
| | | private readonly ISqlSugarClient _sqlSugarClient; |
| | | private readonly IOptionsMonitor<OutboundTimeConfigOptions> _outboundTimeOptions; |
| | | private readonly ILogger<TaskService> _logger; |
| | | |
| | | public IRepository<Dt_Task> Repository => BaseDal; |
| | | |
| | |
| | | IMesLogService mesLogService, |
| | | IMesUploadHelper mesUploadHelper, |
| | | ISqlSugarClient sqlSugarClient, |
| | | IOptionsMonitor<OutboundTimeConfigOptions> outboundTimeOptions) : base(BaseDal) |
| | | IOptionsMonitor<OutboundTimeConfigOptions> outboundTimeOptions, |
| | | ILogger<TaskService> logger) : base(BaseDal) |
| | | { |
| | | _mapper = mapper; |
| | | _stockInfoService = stockInfoService; |
| | |
| | | _mesUploadHelper = mesUploadHelper; |
| | | _sqlSugarClient = sqlSugarClient; |
| | | _outboundTimeOptions = outboundTimeOptions; |
| | | _logger = logger; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | // Remark 为空时,回退到巷道配置 |
| | | return DetermineTargetAddress(roadway, addressMap); |
| | | } |
| | | |
| | | } |
| | | } |