优化
This commit is contained in:
@@ -517,7 +517,7 @@ namespace WMS.Web.Domain.Services
|
|||||||
|
|
||||||
//判断箱是否存在库存:有的话就提示“箱号已上架入库”
|
//判断箱是否存在库存:有的话就提示“箱号已上架入库”
|
||||||
var boxInventory = await _boxInventoryRepositories.GetList(boxs.Select(x => x.Id).ToList());
|
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);
|
return Result<ContrastMaterialsResponse>.ReFailure(ResultCodes.BoxInventoryHaveInventoryError);
|
||||||
|
|
||||||
//合并多个箱明细的数据:相同物料数量合并
|
//合并多个箱明细的数据:相同物料数量合并
|
||||||
|
|||||||
Reference in New Issue
Block a user