代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/ApiInfoService.cs
对比新文件 @@ -0,0 +1,21 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_IBasicInfoService; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_BasicInfoService { public class ApiInfoService : ServiceBase<Dt_ApiInfo, IRepository<Dt_ApiInfo>>, IApiInfoService { public ApiInfoService(IRepository<Dt_ApiInfo> BaseDal) : base(BaseDal) { } public IRepository<Dt_ApiInfo> Repository => BaseDal; } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/HKLocationInfoService.cs
对比新文件 @@ -0,0 +1,21 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_IBasicInfoService; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_BasicInfoService { public class HKLocationInfoService : ServiceBase<Dt_HKLocationInfo, IRepository<Dt_HKLocationInfo>>, IHKLocationInfoService { public HKLocationInfoService(IRepository<Dt_HKLocationInfo> BaseDal) : base(BaseDal) { } public IRepository<Dt_HKLocationInfo> Repository => BaseDal; } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/KLSLocationInfoService.cs
对比新文件 @@ -0,0 +1,21 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_IBasicInfoService; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_BasicInfoService { public class KLSLocationInfoService : ServiceBase<Dt_KLSLocationInfo, IRepository<Dt_KLSLocationInfo>>, IKLSLocationInfoService { public KLSLocationInfoService(IRepository<Dt_KLSLocationInfo> BaseDal) : base(BaseDal) { } public IRepository<Dt_KLSLocationInfo> Repository => BaseDal; } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/RGVLocationInfoService.cs
对比新文件 @@ -0,0 +1,21 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_IBasicInfoService; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_BasicInfoService { public class RGVLocationInfoService : ServiceBase<Dt_RGVLocationInfo, IRepository<Dt_RGVLocationInfo>>, IRGVLocationInfoService { public RGVLocationInfoService(IRepository<Dt_RGVLocationInfo> BaseDal) : base(BaseDal) { } public IRepository<Dt_RGVLocationInfo> Repository => BaseDal; } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/StationMangerService.cs
对比新文件 @@ -0,0 +1,21 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_IBasicInfoService; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_BasicInfoService { public class StationMangerService : ServiceBase<Dt_StationManger, IRepository<Dt_StationManger>>, IStationMangerService { public StationMangerService(IRepository<Dt_StationManger> BaseDal) : base(BaseDal) { } public IRepository<Dt_StationManger> Repository => BaseDal; } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/IApiInfoService.cs
对比新文件 @@ -0,0 +1,16 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_IBasicInfoService { public interface IApiInfoService : IService<Dt_ApiInfo> { public IRepository<Dt_ApiInfo> Repository { get; } } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/IHKLocationInfoService.cs
对比新文件 @@ -0,0 +1,16 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_IBasicInfoService { public interface IHKLocationInfoService : IService<Dt_HKLocationInfo> { public IRepository<Dt_HKLocationInfo> Repository { get; } } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/IKLSLocationInfoService.cs
对比新文件 @@ -0,0 +1,16 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_IBasicInfoService { public interface IKLSLocationInfoService : IService<Dt_KLSLocationInfo> { public IRepository<Dt_KLSLocationInfo> Repository { get; } } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/IRGVLocationInfoService.cs
对比新文件 @@ -0,0 +1,16 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_IBasicInfoService { public interface IRGVLocationInfoService : IService<Dt_RGVLocationInfo> { public IRepository<Dt_RGVLocationInfo> Repository { get; } } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/IStationMangerService.cs
对比新文件 @@ -0,0 +1,16 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_IBasicInfoService { public interface IStationMangerService : IService<Dt_StationManger> { public IRepository<Dt_StationManger> Repository { get; } } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/KLSTaskMethods.cs
@@ -11,23 +11,24 @@ { public partial class TaskService { /// <summary> /// 鍒涘缓鍏ュ簱浠诲姟 /// </summary> /// <param name="taskDTO"></param> /// <returns></returns> /// <summary> /// 鍒涘缓鍏ュ簱浠诲姟 /// </summary> /// <param name="taskDTO"></param> /// <returns></returns> public WebResponseContent CreateNewInTask(TaskDTO taskDTO) { try { try { //鑾峰彇璐т綅淇℃伅 //List<Dt_KLSLocationInfo> kLSLocationInfos= Dt_KLSLocationInfo? kLSLocationInfos = _kLSLocationInfoService.Repository.QueryFirst(x => x.WarehouseId.ToString() == taskDTO.toAreaCode); return WebResponseContent.Instance.OK(); } catch (Exception ex) { return WebResponseContent.Instance.Error(ex.Message); } } catch (Exception ex) { return WebResponseContent.Instance.Error(ex.Message); } } } } 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs
@@ -24,6 +24,7 @@ using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_Core.Helper; using WIDESEAWCS_DTO.TaskInfo; using WIDESEAWCS_IBasicInfoService; using WIDESEAWCS_ITaskInfoService; using WIDESEAWCS_Model.Models; using WIDESEAWCS_QuartzJob.Models; @@ -35,6 +36,9 @@ { private readonly IRouterService _routerService; private readonly ITaskExecuteDetailService _taskExecuteDetailService; private readonly IHKLocationInfoService _hKLocationInfoService; private readonly IKLSLocationInfoService _kLSLocationInfoService; private readonly IRGVLocationInfoService _rGVLocationInfoService; private readonly IRepository<Dt_TaskExecuteDetail> _taskExecuteDetailRepository; private readonly IMapper _mapper; @@ -55,12 +59,15 @@ /// </summary> public IRepository<Dt_Task> Repository => BaseDal; public TaskService(IRepository<Dt_Task> BaseDal, IRouterService routerService, ITaskExecuteDetailService taskExecuteDetailService, IRepository<Dt_TaskExecuteDetail> taskExecuteDetailRepository, IMapper mapper) : base(BaseDal) public TaskService(IRepository<Dt_Task> BaseDal, IRouterService routerService, ITaskExecuteDetailService taskExecuteDetailService, IRepository<Dt_TaskExecuteDetail> taskExecuteDetailRepository, IMapper mapper, IKLSLocationInfoService kLSLocationInfoService, IRGVLocationInfoService rGVLocationInfoService, IHKLocationInfoService hKLocationInfoService) : base(BaseDal) { _routerService = routerService; _taskExecuteDetailService = taskExecuteDetailService; _taskExecuteDetailRepository = taskExecuteDetailRepository; _mapper = mapper; _kLSLocationInfoService = kLSLocationInfoService; _rGVLocationInfoService = rGVLocationInfoService; _hKLocationInfoService = hKLocationInfoService; } public WebResponseContent ReceiveWMSTask([NotNull] List<WMSTasksDTO> taskDTOs) {