修复bug

This commit is contained in:
18942506660
2024-11-11 13:53:17 +08:00
parent 7b9857607d
commit 2252de4826
3 changed files with 4 additions and 3 deletions

View File

@@ -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("_$");