箱库存方法-优化1

This commit is contained in:
tongfei
2023-11-14 14:21:48 +08:00
parent 97258f54d7
commit da230cde75
9 changed files with 423 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;
using WMS.Web.Core.Dto.Inventory;
using WMS.Web.Domain.Entitys;
namespace WMS.Web.Domain.Mappers
{
/// <summary>
/// 即时库存映射对象
/// </summary>
public class InventoryMapper:Profile
{
public InventoryMapper()
{
//改箱映射
CreateMap<BoxInventoryDetailsChangeGenerateDto, BoxInventoryDetails>();
//移箱映射
CreateMap<BoxInventoryMoveGenerateDto, BoxInventory>();
CreateMap<BoxDetails, BoxInventoryDetails>();
}
}
}