|
|
@ -17,7 +17,12 @@ public partial class StoreEventAutoMapperProfile : Profile |
|
|
|
.ForMember(x => x.RequestNumber, y => y.MapFrom(d => d.RequestNumber)) |
|
|
|
.ForMember(x => x.ActiveDate, y => y.MapFrom(d => DateTime.Now)) |
|
|
|
.ForMember(x => x.Worker, y => y.MapFrom(d => d.CompleteUserName)) |
|
|
|
.Ignore(x => x.Number); |
|
|
|
.Ignore(x => x.Number) |
|
|
|
|
|
|
|
|
|
|
|
.Ignore(x => x.IssueTime) |
|
|
|
.Ignore(x => x.ReceiptTime) |
|
|
|
; |
|
|
|
|
|
|
|
CreateMap<ThirdLocationJobDetail, ThirdLocationNoteDetail>() |
|
|
|
.ForMember(x => x.FromPackingCode, y => y.MapFrom(d => d.HandledPackingCode)) |
|
|
@ -43,6 +48,8 @@ public partial class StoreEventAutoMapperProfile : Profile |
|
|
|
.Ignore(x => x.ToLocationArea) |
|
|
|
.Ignore(x => x.ToLocationGroup) |
|
|
|
.Ignore(x => x.ToLocationErpCode) |
|
|
|
|
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
CreateMap<ThirdLocationJobDetail, ExpectInEditInput>() |
|
|
@ -63,6 +70,11 @@ public partial class StoreEventAutoMapperProfile : Profile |
|
|
|
.Ignore(x => x.Confirmed) |
|
|
|
.Ignore(x => x.JobNumber) |
|
|
|
.Ignore(x => x.ActiveDate) |
|
|
|
|
|
|
|
.Ignore(x => x.Workshop) |
|
|
|
.Ignore(x => x.RequestType) |
|
|
|
.Ignore(x => x.UseOnTheWayLocation) |
|
|
|
|
|
|
|
; |
|
|
|
CreateMap<ThirdLocationJobDetail, ThirdLocationNoteDetailInput>() |
|
|
|
.ForMember(x => x.Qty, y => y.MapFrom(d => d.HandledQty)) |
|
|
@ -85,6 +97,10 @@ public partial class StoreEventAutoMapperProfile : Profile |
|
|
|
.ForMember(x => x.FromStatus, y => y.MapFrom(d => d.Status)) |
|
|
|
.ForMember(x => x.ToStatus, y => y.MapFrom(d => d.Status)) |
|
|
|
.ForMember(x => x.SingleCodeRequest, y => y.MapFrom(d => d.SingleCodeRequest)) |
|
|
|
|
|
|
|
.Ignore(x => x.SingleCodeJob) |
|
|
|
.Ignore(x => x.PositionCode) |
|
|
|
.Ignore(x => x.RecommendType) |
|
|
|
; |
|
|
|
} |
|
|
|
} |
|
|
|