修复bug
This commit is contained in:
@@ -142,7 +142,7 @@ namespace WMS.Web.Repositories
|
||||
if (!string.IsNullOrEmpty(dto.MaterialNumber))
|
||||
query = query.Where(w => mNumber.Contains(w.MaterialNumber));
|
||||
if (!string.IsNullOrEmpty(dto.Customer))
|
||||
query = query.Where(w => dto.Customer.Contains(w.Customer));
|
||||
query = query.Where(w => EF.Functions.Like(w.Customer, "%" + dto.Customer + "%"));
|
||||
if (!string.IsNullOrEmpty(dto.StockCode))
|
||||
{
|
||||
var split = dto.StockCode.Split("_$");
|
||||
|
||||
Reference in New Issue
Block a user