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,