|
@@ -2632,7 +2632,8 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
|
|
|
public ISugarQueryable<OrderVisitDetail> MayScreenList(MayScreenListDto dto)
|
|
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)
|
|
.Includes(x => x.OrderVisit, y => y.Order)
|
|
.Includes(x => x.OrderVisit, y => y.Order)
|
|
.Includes(x => x.OrderVisit, y => y.Employee)
|
|
.Includes(x => x.OrderVisit, y => y.Employee)
|