移箱-箱库存变更-优化

This commit is contained in:
tongfei
2023-12-29 10:54:16 +08:00
parent 1554afbbf5
commit 141837da18
6 changed files with 96 additions and 35 deletions

View File

@@ -17,10 +17,12 @@ namespace WMS.Web.Domain.Mappers
//改箱映射
CreateMap<BoxInventoryDetailsChangeGenerateDto, BoxInventoryDetails>();
//移箱映射
//移箱映射
CreateMap<BoxInventoryMoveGenerateDto, BoxInventory>();
CreateMap<BoxDetails, BoxInventoryDetails>()
.ForMember(x => x.Id, ops => ops.Ignore());
CreateMap<BoxInventoryMoveDetailsGenerateDto, BoxInventoryDetails>()
.ForMember(x => x.Id, ops => ops.Ignore())
.ForMember(x => x.Fid, ops => ops.Ignore());
//出入库回退上下架映射
CreateMap<BoxInventoryBackGenerateDto, BoxInventory>();