From 671eaed0b2ebd60be526c1c788615b09b01c1808 Mon Sep 17 00:00:00 2001 From: mahao Date: Fri, 3 Nov 2023 13:18:59 +0800 Subject: [PATCH] up --- .../Entities/BQ/Syncs/InvoiceSyncQadInvocable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/InvoiceSyncQadInvocable.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/InvoiceSyncQadInvocable.cs index 91a6e71c..1121fc6f 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/InvoiceSyncQadInvocable.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/InvoiceSyncQadInvocable.cs @@ -43,7 +43,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs return; } - var invoiceSyncQads = _settleAccountDbContext.Set().Where(t => t.TaskState == 0 || t.TaskState == 1 || t.TaskState == 2).OrderBy(t => t.CreationTime).Take(1000).ToList(); + var invoiceSyncQads = _settleAccountDbContext.Set().Where(t => t.TaskState != 2).OrderBy(t => t.CreationTime).Take(1000).ToList(); if (!invoiceSyncQads.Any()) {