bug修复
This commit is contained in:
@@ -62,7 +62,8 @@ namespace WMS.Web.Repositories
|
|||||||
|
|
||||||
//物料集合;模糊查询后的物料集合
|
//物料集合;模糊查询后的物料集合
|
||||||
if (!string.IsNullOrEmpty(dto.MaterialNumber))
|
if (!string.IsNullOrEmpty(dto.MaterialNumber))
|
||||||
materials = materials.Where(w => EF.Functions.Like(w.MaterialNumber, "%" + dto.MaterialNumber + "%")).ToList();
|
if (!string.IsNullOrEmpty(dto.MaterialNumber))
|
||||||
|
materials = materials.Where(w => w.MaterialNumber.Contains(dto.MaterialNumber)).ToList();
|
||||||
|
|
||||||
var query = _context.BoxInventoryDetails
|
var query = _context.BoxInventoryDetails
|
||||||
.GroupJoin(_context.BoxInventory, detail => detail.Fid, order => order.Id, (detail, orders) => new { detail, orders })
|
.GroupJoin(_context.BoxInventory, detail => detail.Fid, order => order.Id, (detail, orders) => new { detail, orders })
|
||||||
|
|||||||
Reference in New Issue
Block a user