|
|
@ -33,9 +33,9 @@ namespace BBWYB.Server.Business |
|
|
|
.LeftJoin((o, ocs, oct) => o.Id == ocs.OrderId) |
|
|
|
.LeftJoin((o, ocs, oct) => o.Id == oct.OrderId); |
|
|
|
if (!string.IsNullOrEmpty(request.OrderId)) |
|
|
|
{ |
|
|
|
select = select.Where((o, ocs, oct) => o.Id == request.OrderId); |
|
|
|
} |
|
|
|
else if (!string.IsNullOrEmpty(request.OrderSn)) |
|
|
|
select = select.Where((o, ocs, oct) => o.OrderSn == request.OrderSn); |
|
|
|
else |
|
|
|
{ |
|
|
|
if (!string.IsNullOrEmpty(request.Sku) || !string.IsNullOrEmpty(request.SourceSku) || !string.IsNullOrEmpty(request.ProductId)) |
|
|
|