移箱列表增加仓位id

This commit is contained in:
18942506660
2023-11-09 17:09:05 +08:00
parent 71efc00756
commit e2c8b08a26
2 changed files with 12 additions and 0 deletions

View File

@@ -91,6 +91,10 @@ namespace WMS.Web.Repositories
.OrderByDescending(o => o.moveBox.Id)
.Where(adv => 1 == 1);
if(dto.SrcSubStockId!=null)
query = query.Where(w => w.moveBox.SrcSubStockId == dto.SrcSubStockId);
if (dto.DestSubStockId != null)
query = query.Where(w => w.moveBox.DestSubStockId == dto.DestSubStockId);
if (ids.Count() > 0)
query = query.Where(w => ids.Contains(w.moveBox.CreatorId));
if (!string.IsNullOrEmpty(dto.Box))