From 328798de2a1297210d54faf9419c076a22e775c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Mon, 25 Jan 2021 11:22:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=9F=E5=AE=9E=E8=BF=87=E6=9C=9F=E4=B8=AA?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Controllers/UserController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Host/Controllers/UserController.cs b/Host/Controllers/UserController.cs index 4f2d6a4..032e677 100644 --- a/Host/Controllers/UserController.cs +++ b/Host/Controllers/UserController.cs @@ -109,7 +109,7 @@ namespace Home.Controllers var accountQuery = m_ProductAccountService.Query(m => m.UserId == userId); model.AccountModel.TotalCount = await accountQuery.CountAsync(); - model.AccountModel.ExpriedCount = await accountQuery.Where(m => m.EndTime < DateTime.Now).CountAsync(); + model.AccountModel.ExpriedCount = await accountQuery.Where(m => m.EndTime < DateTime.Now && m.DeleteTag==0).CountAsync(); var orderQuery= m_OrderService.Query(m => m.UserId == userId);