Browse Source

添加扩展属性

集成Redis
郑勃旭 2 years ago
parent
commit
9c63f61b78
  1. 6
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/DeliverRequests/DeliverRequestAutoMapperProfile.cs

6
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/DeliverRequests/DeliverRequestAutoMapperProfile.cs

@ -1,5 +1,6 @@
using AutoMapper;
using Volo.Abp.AutoMapper;
using Volo.Abp.Data;
using Win_in.Sfs.Wms.Store.Application.Contracts;
using Win_in.Sfs.Wms.Store.Domain;
@ -91,6 +92,9 @@ public partial class StoreApplicationAutoMapperProfile : Profile
.Ignore(x => x.TenantId)
.Ignore(x => x.Id)
.Ignore(x => x.ExtraProperties)
.Ignore(x => x.Remark);
.Ignore(x => x.Remark)
.AfterMap((x, y) => y.SetProperty(nameof(x.FromVinCode), x.FromVinCode))
.AfterMap((x, y) => y.SetProperty(nameof(x.ToVinCode), x.ToVinCode))
;
}
}

Loading…
Cancel
Save