fix 查询优化

This commit is contained in:
2024-03-21 15:40:22 +08:00
parent 6d3a19b283
commit c582fb40c0
5 changed files with 14 additions and 14 deletions

View File

@@ -48,4 +48,9 @@ public class OrderAggregationResponse
return 0;
}
}
/// <summary>
/// 订单时间
/// </summary>
public DateTime CreateTime { get; set; }
}

View File

@@ -31,4 +31,9 @@ public class OrderBookingResponse
///
/// </summary>
public string UserNo { get; set; }
/// <summary>
/// 订单时间
/// </summary>
public DateTime CreateTime { get; set; }
}

View File

@@ -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();