Browse Source

单位信息

bjmzak
wxd 2 years ago
parent
commit
70336904c8
  1. 10
      src/Shentun.Peis.Application.Contracts/CustomerOrgs/CustomerOrgDto.cs
  2. 3
      src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs

10
src/Shentun.Peis.Application.Contracts/CustomerOrgs/CustomerOrgDto.cs

@ -120,5 +120,15 @@ namespace Shentun.Peis.CustomerOrgs
/// 国家组织机构代码
/// </summary>
public string CountryOrgCode { get; set; }
/// <summary>
/// 销售员
/// </summary>
public string SalesPerson { get; set; }
/// <summary>
/// 销售员电话
/// </summary>
public string SalesPersonPhone { get; set; }
}
}

3
src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs

@ -61,7 +61,6 @@ namespace Shentun.Peis.CustomerOrgs
var entityDto = await base.GetAsync(id);
entityDto.CreatorName = await _cacheService.GetSurnameAsync(entityDto.CreatorId);
entityDto.LastModifierName = await _cacheService.GetSurnameAsync(entityDto.LastModifierId);
return entityDto;
}
/// <summary>
@ -115,6 +114,8 @@ namespace Shentun.Peis.CustomerOrgs
Fax = s.Fax,
InvoiceName = s.InvoiceName,
IsLock = s.IsLock,
SalesPerson = s.SalesPerson,
SalesPersonPhone = s.SalesPersonPhone,
MedicalCenterId = s.MedicalCenterId,
CountryOrgCode = s.CountryOrgCode,
CreatorName = _cacheService.GetSurnameAsync(s.CreatorId).Result,

Loading…
Cancel
Save