|
|
|
@ -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)
|
|
|
|
|
{
|
|
|
|
|