Merge branch 'master' of https://codeup.aliyun.com/62ce7bca487c500c27f70a79/OPS/WMS-Api
This commit is contained in:
@@ -1288,7 +1288,7 @@ namespace WMS.Web.Domain.Services.Public
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return ResultList<Erp_SubStockDto>.ReFailure("错误", 10002);
|
||||
return ResultList<Erp_SubStockDto>.ReFailure(ResultCodes.ErpSubStockError);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -445,7 +445,7 @@ namespace WMS.Web.Domain.Services
|
||||
{
|
||||
var serialNumbers = takeStocks.SelectMany(s => s.Details).SelectMany(s => s.SerialNumbers).ToList();
|
||||
var entityList = await _serialNumbersRepositories.GetEntityList(serialNumbers);
|
||||
var boxIds = entityList.Select(s => s.BoxId).ToList();
|
||||
var boxIds = takeStocks.SelectMany(s=>s.Details).Select(s => s.BoxId).ToList();
|
||||
var boxList = await _boxRepositories.GetEntityList(boxIds);
|
||||
|
||||
List<Box> box_New_List = new List<Box>();
|
||||
|
||||
Reference in New Issue
Block a user