Ver código fonte

Merge branch 'master' of http://git.12345lm.cn/Fengwo/hotline

Dun.Jason 1 ano atrás
pai
commit
f20b3dbb2a
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      src/Hotline.Api/Controllers/OrderController.cs

+ 1 - 0
src/Hotline.Api/Controllers/OrderController.cs

@@ -1233,6 +1233,7 @@ public class OrderController : BaseController
         var isHandled = dto.IsApply.HasValue && dto.IsApply.Value;
         var (total, items) = await _orderDelayRepository
             .Queryable(viewFilter: true, handlerFilter: !isHandled)
+            .Includes(x => x.Order)
             .WhereIF(!string.IsNullOrEmpty(dto.Keyword),
                 d => d.Order.Title.Contains(dto.Keyword!) || d.No.Contains(dto.Keyword!))
             .WhereIF(dto.IsApply == true, x => x.DelayState != EDelayState.Examining)