接口优化
This commit is contained in:
@@ -32,6 +32,6 @@ namespace WMS.Web.Domain.Entitys
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
public List<BoxInventoryDetails> Details = new List<BoxInventoryDetails>();
|
||||
public List<BoxInventoryDetails> Details { get; set; } = new List<BoxInventoryDetails>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace WMS.Web.Domain.Infrastructure
|
||||
/// </summary>
|
||||
/// <param name="boxBillNo"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<BoxInventoryDetailsResponse>> GetListDetailsBy(string boxBillNo);
|
||||
Task<BoxInventoryResponse> GetInfoBy(string boxBillNo);
|
||||
|
||||
/// <summary>
|
||||
/// 列表-根据箱ids
|
||||
|
||||
@@ -44,7 +44,16 @@ namespace WMS.Web.Domain.Mappers
|
||||
|
||||
//即时库存明细-映射
|
||||
CreateMap<InventoryDetailsGenerateDto, InventoryDetails>();
|
||||
|
||||
|
||||
|
||||
//箱库存详情-映射
|
||||
CreateMap<BoxInventoryResponse, BoxInventory>()
|
||||
.ForMember(x=>x.Details,t=>t.Ignore());
|
||||
CreateMap<BoxInventoryDetailsResponse, BoxInventoryDetails>();
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,7 +241,7 @@ namespace WMS.Web.Domain.Services
|
||||
/// 非采购上架-保存
|
||||
/// </summary>
|
||||
/// <param name="dto"></param>
|
||||
/// <param name="staffId"></param>
|
||||
/// <param name="loginInfo"></param>
|
||||
/// <param name="isTransaction"></param>
|
||||
/// <returns></returns>
|
||||
private async Task<Result> ShelfNoPurchaseSave(NoPurchaseShelfRequest dto, LoginInDto loginInfo, bool isTransaction = true)
|
||||
|
||||
Reference in New Issue
Block a user