|
|
@ -33,7 +33,7 @@ namespace Win_in.Sfs.Scp.WebApi |
|
|
|
.ForMember(p => p.ErpPartCode, p => p.MapFrom(q => q.Code)) |
|
|
|
.ForMember(p => p.PartDesc1, p => p.MapFrom(q => ""))//中文描述不要覆盖
|
|
|
|
.ForMember(p => p.PartDesc2, p => p.MapFrom(q => string.IsNullOrEmpty(q.Desc1) ? "" : q.Desc1)) |
|
|
|
.ForMember(p => p.ProjectId, p => p.MapFrom(q => q.ProductLine)) |
|
|
|
.ForMember(p => p.ProjectId, p => p.MapFrom(q => q.Catalog)) |
|
|
|
.ForMember(p => p.Unit, p => p.MapFrom(q => q.Uom)) |
|
|
|
.ForMember(p => p.PartGroup, p => p.MapFrom(q => q.Group)) |
|
|
|
.ForMember(p => p.State, p => p.MapFrom(q => q.Status)) |
|
|
|