修复bug
This commit is contained in:
@@ -256,7 +256,7 @@ namespace WMS.Web.Repositories
|
||||
else//查其他单据(组织)
|
||||
query = query.Where(w => rec_id == w.order.ReceiptCustomerId && w.order.Type != OutStockType.Sal);
|
||||
}
|
||||
if (mIds.Count() != 0)
|
||||
if (!string.IsNullOrEmpty(dto.MaterialNumber))
|
||||
query = query.Where(w => mIds.Contains(w.detail.MaterialId));
|
||||
if (dto.Ids.Count() > 0)
|
||||
query = query.Where(w => dto.Ids.Contains(w.detail.Id));
|
||||
|
||||
Reference in New Issue
Block a user