系统的仓库标识,统一使用编码

This commit is contained in:
tongfei
2023-11-08 15:16:07 +08:00
parent c66741b561
commit a5775e6d95
16 changed files with 41 additions and 51 deletions

View File

@@ -73,8 +73,8 @@ namespace WMS.Web.Repositories
query = query.Where(w => mids.Contains(w.MaterialId));
}
if (dto.StockId.HasValue)
query = query.Where(w => w.StockId == dto.StockId.Value);
if (!string.IsNullOrEmpty(dto.StockCode))
query = query.Where(w => w.StockCode == dto.StockCode);
if (dto.OrderType.HasValue)
query = query.Where(w => (int)w.OrderType == dto.OrderType.Value);