Parcourir la source

甄别待申请处理

田爽 il y a 4 mois
Parent
commit
5653a4b0e8
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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)