@ -43,7 +43,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
return;
}
var invoiceSyncQads = _settleAccountDbContext.Set<InvoiceSyncQad>().Where(t => t.TaskState == 0 || t.TaskState == 1 || t.TaskState == 2).OrderBy(t => t.CreationTime).Take(1000).ToList();
var invoiceSyncQads = _settleAccountDbContext.Set<InvoiceSyncQad>().Where(t => t.TaskState != 2).OrderBy(t => t.CreationTime).Take(1000).ToList();
if (!invoiceSyncQads.Any())
{