|
@@ -76,8 +76,8 @@ namespace GxPress.Repository.Implement.Order
|
|
|
{
|
|
|
if (DateTime.TryParse(request.BeginTime, out var BeginTime) && DateTime.TryParse(request.EndTime, out var EndTime))
|
|
|
{
|
|
|
- query.WhereTime(nameof(Entity.Order.Order.CreatedDate), ">", BeginTime);
|
|
|
- query.WhereTime(nameof(Entity.Order.Order.CreatedDate), "<", EndTime);
|
|
|
+ query.WhereDate(nameof(Entity.Order.Order.CreatedDate), ">", BeginTime);
|
|
|
+ query.WhereDate(nameof(Entity.Order.Order.CreatedDate), "<", EndTime);
|
|
|
}
|
|
|
}
|
|
|
result.Total = await _repository.CountAsync(query);
|