Browse Source

mapp修改

集成Redis
唐明亮 2 years ago
parent
commit
71aa3e0965
  1. BIN
      .vs/东阳程序最新版/v17/.suo
  2. 4
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Boms/BomAutoMapperProfile.cs
  3. 4
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Customers/CustomerAutoMapperProfile.cs
  4. 3
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Items/ItemBasicAutoMapperProfile.cs
  5. 5
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Suppliers/SupplierAutoMapperProfile.cs
  6. 4
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/MaterialRequests/MaterialRequestAutoMapperProfile.cs

BIN
.vs/东阳程序最新版/v17/.suo

Binary file not shown.

4
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Boms/BomAutoMapperProfile.cs

@ -26,6 +26,8 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
.Ignore(x => x.ExtraProperties) .Ignore(x => x.ExtraProperties)
// .Ignore(x => x.Remark) // .Ignore(x => x.Remark)
; ;
CreateMap<BomEditInput, Bom>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.ConcurrencyStamp).Ignore(x => x.Id);
} }
} }

4
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Customers/CustomerAutoMapperProfile.cs

@ -23,6 +23,8 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
CreateMap<Customer, CustomerImportInput>() CreateMap<Customer, CustomerImportInput>()
.Ignore(x => x.ReportStatus) .Ignore(x => x.ReportStatus)
.Ignore(x => x.ReportReason); .Ignore(x => x.ReportReason);
CreateMap<CustomerEditInput, Customer>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.ConcurrencyStamp).Ignore(x => x.Id);
} }
} }

3
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Items/ItemBasicAutoMapperProfile.cs

@ -28,5 +28,8 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
CreateMap<ItemBasic, ItemBasicForDongyangExportDTO>() CreateMap<ItemBasic, ItemBasicForDongyangExportDTO>()
.Ignore(x => x.ItemCategory) .Ignore(x => x.ItemCategory)
.Ignore(x => x.Color); .Ignore(x => x.Color);
CreateMap<ItemBasicEditInput, ItemBasic>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.ConcurrencyStamp).Ignore(x => x.Id);
} }
} }

5
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/Suppliers/SupplierAutoMapperProfile.cs

@ -21,6 +21,9 @@ public partial class BasedataApplicationAutoMapperProfile : Profile
CreateMap<Supplier, SupplierImportInput>() CreateMap<Supplier, SupplierImportInput>()
.Ignore(x => x.ReportStatus) .Ignore(x => x.ReportStatus)
.Ignore(x => x.ReportReason); .Ignore(x => x.ReportReason);
CreateMap<SupplierEditInput, Supplier>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.ConcurrencyStamp).Ignore(x => x.Id);
} }
} }

4
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/MaterialRequests/MaterialRequestAutoMapperProfile.cs

@ -67,5 +67,9 @@ public partial class StoreApplicationAutoMapperProfile : Profile
.Ignore(x => x.Number) .Ignore(x => x.Number)
.Ignore(x => x.Id) .Ignore(x => x.Id)
.Ignore(x => x.Remark); .Ignore(x => x.Remark);
CreateMap<MaterialRequestEditInput, MaterialRequest>()
.IgnoreAuditedObjectProperties()
.Ignore(x => x.RequestStatus)
.Ignore(x => x.ConcurrencyStamp).Ignore(x => x.Id);
} }
} }

Loading…
Cancel
Save