From ee2b14ad12e7b1d84abf036fd7dd2230c80edcb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E6=A2=93=E5=BD=AD?= Date: Tue, 12 May 2026 17:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E5=8F=96=E6=B6=88=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YD_Event.Application/Client/MyController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YD_Event.Application/Client/MyController.cs b/YD_Event.Application/Client/MyController.cs index 00ab16f..0a258c6 100644 --- a/YD_Event.Application/Client/MyController.cs +++ b/YD_Event.Application/Client/MyController.cs @@ -519,7 +519,7 @@ public class MyController : IDynamicApiController var userId = GetCurrentUserId(); var query = _orderRepository.AsQueryable() .LeftJoin((o, e) => o.EventId == e.Id) - .Where((o, e) => o.CreatedUserId == userId && !o.DeleteMark) + .Where((o, e) => o.CreatedUserId == userId && !o.DeleteMark && o.OrderStatus != OrderStatus.Cancelled) .Select((o, e) => new MyOrderDto { Id = o.Id,