fix 查询优化
This commit is contained in:
@@ -48,4 +48,9 @@ public class OrderAggregationResponse
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 订单时间
|
||||
/// </summary>
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
|
||||
@@ -31,4 +31,9 @@ public class OrderBookingResponse
|
||||
///
|
||||
/// </summary>
|
||||
public string UserNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单时间
|
||||
/// </summary>
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
|
||||
@@ -301,6 +301,7 @@ public class OrderService : BaseOrderService, IOrderService
|
||||
{
|
||||
No = x.No,
|
||||
BusinessPlaceName = bplace.Name,
|
||||
CreateTime = x.CreateTime
|
||||
})
|
||||
.ToPageListAsync(page);
|
||||
|
||||
@@ -317,7 +318,7 @@ public class OrderService : BaseOrderService, IOrderService
|
||||
Name = d.Name,
|
||||
ImageUrl = d.ImageUrl,
|
||||
Number = x.Number,
|
||||
Price = x.Price
|
||||
Price = x.Price,
|
||||
})
|
||||
.ToListAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user