This commit is contained in:
tongfei
2023-12-29 15:02:13 +08:00
parent f9db2c1b32
commit a68436cee6
4 changed files with 38 additions and 21 deletions

View File

@@ -92,6 +92,9 @@ namespace WMS.Web.Repositories
query = query.Where(w => w.StockCode == splitStrs[0] && w.OrgCode == splitStrs[1]);
}
if (dto.SubStockId.HasValue)
query = query.Where(w => w.SubStockId == dto.SubStockId.Value);
if (dto.Qty.HasValue)
query = query.Where(w => w.Qty == dto.Qty);