|
@@ -42,7 +42,10 @@ namespace GxPress.Repository.Implement.Order
|
|
var result = new PagedList<Entity.Order.Order>();
|
|
var result = new PagedList<Entity.Order.Order>();
|
|
var query = Q.NewQuery();
|
|
var query = Q.NewQuery();
|
|
if (!string.IsNullOrEmpty(request.KeyWord))
|
|
if (!string.IsNullOrEmpty(request.KeyWord))
|
|
- query.WhereLike(nameof(Entity.Order.Order.OrderNumber), $"%{request.KeyWord}%");
|
|
|
|
|
|
+ {
|
|
|
|
+ query.OrWhereLike(nameof(Entity.Order.Order.OrderNumber), $"%{request.KeyWord}%");
|
|
|
|
+ query.OrWhereLike(nameof(Entity.Order.Order.Explain), $"%{request.KeyWord}%");
|
|
|
|
+ }
|
|
if (request.PayWay > 0)
|
|
if (request.PayWay > 0)
|
|
query.Where(nameof(Entity.Order.Order.PayWay), request.PayWay);
|
|
query.Where(nameof(Entity.Order.Order.PayWay), request.PayWay);
|
|
if (!string.IsNullOrEmpty(request.BeginTime) && !string.IsNullOrEmpty(request.EndTime))
|
|
if (!string.IsNullOrEmpty(request.BeginTime) && !string.IsNullOrEmpty(request.EndTime))
|