瀏覽代碼

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

Dun.Jason 1 年之前
父節點
當前提交
f20b3dbb2a
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)