diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskManageBCService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskManageBCService.cs index b76351f0..de8187c7 100644 --- a/Myshipping.Application/Service/TaskManagePlat/TaskManageBCService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/TaskManageBCService.cs @@ -2853,6 +2853,8 @@ namespace Myshipping.Application } } + slotId = bcTaskInfo.BOOKING_SLOT_ID.Value; + var bcInfo = _taskBaseRepository.AsQueryable().Filter(null, true).Where(a => a.MBL_NO == bcTaskInfo.MBL_NO && a.CARRIER_ID == bcTaskInfo.CARRIERID && a.TASK_TYPE == TaskBaseTypeEnum.BC.ToString() && a.IsDeleted == false && a.TenantId == UserManager.TENANT_ID).First(); diff --git a/ServiceProjectSyncWin/Program.cs b/ServiceProjectSyncWin/Program.cs index 95ef2ff2..a45e1b3c 100644 --- a/ServiceProjectSyncWin/Program.cs +++ b/ServiceProjectSyncWin/Program.cs @@ -6,6 +6,7 @@ using Furion.FriendlyException; using Furion.JsonSerialization; using Furion.RemoteRequest.Extensions; using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using ServiceProjectSyncWin; @@ -431,7 +432,7 @@ public class SyncHisRecord: ISyncHisRecord,ITransient 1、更新任务台 2、更新舱位的截止时间记录 */ - var taskList = _db.Queryable().Where(a => (a.BUSI_TYPE == "BookingConfirmation" || a.BUSI_TYPE == "BookingAmendment") && a.TASK_ID == "08dc56ae-e1bd-4650-818e-85447143df67") + var taskList = _db.Queryable().Where(a => (a.BUSI_TYPE == "BookingConfirmation" || a.BUSI_TYPE == "BookingAmendment")) .OrderBy(t=>t.CreatedTime) .ToList(); @@ -439,8 +440,8 @@ public class SyncHisRecord: ISyncHisRecord,ITransient _logger.LogInformation($"批次={batchNo} 提取待处理任务 num={taskList.Count}"); - string bcReadUrl = "http://localhost:5110/api/TaskBCParser/ExcuteBCFileRead"; - string amendReadUrl = "http://localhost:5110/api/TaskBookingAmendmentParser/ExcuteBookingAmendmentRead"; + string bcReadUrl = "http://47.104.73.97:7115/api/TaskBCParser/ExcuteBCFileRead"; + string amendReadUrl = "http://47.104.73.97:7115/api/TaskBookingAmendmentParser/ExcuteBookingAmendmentRead"; //foreach (var task in taskList) for(int i=0;i - True|2023-09-11T12:42:58.0481784Z;True|2023-09-11T20:42:47.7986046+08:00;True|2023-09-04T17:20:02.6360803+08:00;True|2023-09-04T10:10:54.4958128+08:00; + True|2024-04-09T05:04:05.3631882Z;True|2024-04-09T13:01:10.1980474+08:00;True|2024-04-09T12:57:25.4926925+08:00;True|2023-09-11T20:42:58.0481784+08:00;True|2023-09-11T20:42:47.7986046+08:00;True|2023-09-04T17:20:02.6360803+08:00;True|2023-09-04T10:10:54.4958128+08:00; \ No newline at end of file