完善软件逻辑

This commit is contained in:
hehaibing-1996
2024-10-31 13:57:51 +08:00
parent 759ebf2c89
commit 21d12b0003
2 changed files with 6 additions and 1 deletions

View File

@ -2337,7 +2337,7 @@ namespace WCS.BLL.HardWare
{
//获取当前板所有库位
var storeInfos = DbHelp.db.Queryable<StoreInfo>()
.Where(t => t.BoardId == boardId)
.Where(t => t.BoardId == boardId && t.ShelfId == ShelfId)
.ToList();
//当前设置的板库位数
var boardStoreNumber = storeInfos.Count();