huangxiaoqiang
2026-03-31 990afb24199ef1f7a4648728ac28ed74394e459c
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
@@ -1,4 +1,8 @@
using WIDESEA_DTO;
using WIDESEA_Core.BaseRepository;
using WIDESEA_DTO;
using WIDESEA_IStorageBasicRepository;
using WIDESEA_IStorageTaskRepository;
using WIDESEAWCS_QuartzJob.Models;
namespace WIDESEA_WMSServer.Controllers;
@@ -12,14 +16,18 @@
    private readonly IHttpContextAccessor _httpContextAccessor;
    private readonly IDt_TaskService _taskService;
    private readonly ILocationInfoService _locationService;
    private readonly ILocationInfoRepository _locationRepository;
    private readonly IDt_TaskRepository BaseDal;
    public TaskController(IDt_TaskService taskService,
        IHttpContextAccessor httpContextAccessor,
        ILocationInfoService locationService) : base(taskService)
        ILocationInfoService locationService, ILocationInfoRepository locationInfoRepository,IDt_TaskRepository repository) : base(taskService)
    {
        _httpContextAccessor = httpContextAccessor;
        _taskService = taskService;
        _locationService = locationService;
        _locationRepository = locationInfoRepository;
        BaseDal = repository;
    }
    /// <summary>
@@ -270,4 +278,10 @@
    {
        return Service.GetLocationStatus();
    }
    [HttpPost, AllowAnonymous, Route("GetRoadWayAsync")]
    public async Task<string> GetRoadWayAsync(List<string> process)
    {
        return await Service.GetRoadWayAsync(process);
    }
}