调整接口

This commit is contained in:
18942506660
2023-11-22 16:15:26 +08:00
parent 7b26518dfe
commit 9bce3f42a8
10 changed files with 39 additions and 59 deletions

View File

@@ -64,7 +64,12 @@ namespace WMS.Web.Domain.Services
{
List<TakeStock> list = _mapper.Map<List<TakeStock>>(dto);
foreach (var entity in list)
{
var subStock = await _transactionRepositories.GetSubUcStockAsync(entity.SubStockId, loginInfo.UserInfo.CompanyId);
entity.Create(loginInfo.UserInfo.StaffId);
entity.OrgCode = subStock?.ErpOrgCode;
entity.StockCode = subStock?.StockCode;
}
#region dto
List<BoxInventoryGenerateDto> inventoryList = new List<BoxInventoryGenerateDto>();