Dun.Jason 1 year ago
parent
commit
329e1829f5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Hotline.Api/Controllers/OrderController.cs

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

@@ -784,6 +784,7 @@ public class OrderController : BaseController
         var (total, items) = await _orderVisitApplyRepository.Queryable()
             .Includes(d => d.Order)
             .Includes(d=>d.OrderVisit,d=>d.OrderVisitDetails)
+            .Includes(d=>d.OrderVisit,d=>d.Employee)
             .Includes(d => d.Employee)
             .WhereIF(dto.VisitApplyState != null, x => x.VisitApplyState == dto.VisitApplyState)
             .WhereIF(!string.IsNullOrEmpty(dto.Keyword), x => x.OrderNo.Contains(dto.Keyword))