This commit is contained in:
tongfei
2023-12-04 16:11:54 +08:00
parent 90faece236
commit 99af90d7cf

View File

@@ -517,7 +517,7 @@ namespace WMS.Web.Domain.Services
//判断箱是否存在库存:有的话就提示“箱号已上架入库”
var boxInventory = await _boxInventoryRepositories.GetList(boxs.Select(x => x.Id).ToList());
if(boxInventory!=null)
if(boxInventory!=null && boxInventory.Count!=0)
return Result<ContrastMaterialsResponse>.ReFailure(ResultCodes.BoxInventoryHaveInventoryError);
//合并多个箱明细的数据:相同物料数量合并