|
@ -57,6 +57,7 @@ namespace Win_in.Sfs.Scp.WebApi |
|
|
.Ignore(p => p.Id) |
|
|
.Ignore(p => p.Id) |
|
|
.ForMember(p => p.Site, p => p.MapFrom(q => q.Company))//接口没有传入Site
|
|
|
.ForMember(p => p.Site, p => p.MapFrom(q => q.Company))//接口没有传入Site
|
|
|
.ForMember(p => p.VendId, p => p.MapFrom(q => q.Code)) |
|
|
.ForMember(p => p.VendId, p => p.MapFrom(q => q.Code)) |
|
|
|
|
|
.ForMember(p => p.VendName, p => p.MapFrom(q => q.Name)) |
|
|
.ForMember(p => p.ZipCode, p => p.MapFrom(q => q.Desc)) //英文描述放到ZipCode中
|
|
|
.ForMember(p => p.ZipCode, p => p.MapFrom(q => q.Desc)) //英文描述放到ZipCode中
|
|
|
.ForMember(p => p.VendAbbCode, p => p.MapFrom(q => "0"))//未使用
|
|
|
.ForMember(p => p.VendAbbCode, p => p.MapFrom(q => "0"))//未使用
|
|
|
.ForMember(p => p.VendType, p => p.MapFrom(q => ""))//默认值未空
|
|
|
.ForMember(p => p.VendType, p => p.MapFrom(q => ""))//默认值未空
|
|
|