|
@@ -43,8 +43,7 @@ namespace GxPress.Repository.Implement.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.Explain), $"%{request.KeyWord}%");
|
|
|
|
|
|
+ query.WhereLike(nameof(Entity.Order.Order.OrderNumber), $"%{request.KeyWord}%").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);
|