Browse Source

甄别待申请处理

田爽 4 months ago
parent
commit
5653a4b0e8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/Hotline.Application/Orders/OrderApplication.cs

+ 2 - 1
src/Hotline.Application/Orders/OrderApplication.cs

@@ -2632,7 +2632,8 @@ public class OrderApplication : IOrderApplication, IScopeDependency
 
     public ISugarQueryable<OrderVisitDetail> MayScreenList(MayScreenListDto dto)
     {
-        var query = _orderVisitedDetailRepository.Queryable(false, true)
+	    dto.ScreenType = dto.ScreenType is null ? 0 : dto.ScreenType;
+	   var query = _orderVisitedDetailRepository.Queryable(false, true)
             .Includes(x => x.OrderVisit)
             .Includes(x => x.OrderVisit, y => y.Order)
             .Includes(x => x.OrderVisit, y => y.Employee)