diff --git a/Myshipping.Application/Job/MSKAPIBookingWorker.cs b/Myshipping.Application/Job/MSKAPIBookingWorker.cs index 28481c91..5def743b 100644 --- a/Myshipping.Application/Job/MSKAPIBookingWorker.cs +++ b/Myshipping.Application/Job/MSKAPIBookingWorker.cs @@ -58,7 +58,7 @@ namespace Myshipping.Core.Job //获取定时订舱的任务 var doList = _repBookingDelivery.AsQueryable().Filter(null, true).Where(a => a.IsDeleted == false && a.STATUS == "TEMP" && (a.REQUEST_ACKNOWLEDGEMENT_ID == null || a.REQUEST_ACKNOWLEDGEMENT_ID == "") && (a.BOOKING_REFERENCE == null || a.BOOKING_REFERENCE == "") - && a.IS_JOB == true && a.JOB_TIME.HasValue && a.JOB_TIME.Value <= nowDate).ToList(); + && a.IS_JOB == true && a.JOB_TIME.HasValue && a.JOB_TIME.Value <= nowDate && a.PRODUCT_CODE == "MaerskContract").ToList(); if (doList.Count > 0) {