fix 增加上传完成提醒

This commit is contained in:
2024-08-28 11:54:54 +08:00
parent c9938bd258
commit bfc14604b3

View File

@@ -89,6 +89,12 @@ public class BalanceRecordCheckBackgroundService : BackgroundService
await db.Client.Ado.RollbackTranAsync();
}
}
balanceRecords = await db.Queryable<LocalBalanceRecordEntity>().Where(x => x.TenantId == factory).Where(x => !x.IsSync).ToListAsync(stoppingToken);
if (!balanceRecords.Any())
{
_logger.LogInformation("上传离线订单完成");
}
}
}
catch (Exception e)