diff --git a/src/Shentun.Peis.Application.Contracts/CustomerOrgs/CustomerOrgDto.cs b/src/Shentun.Peis.Application.Contracts/CustomerOrgs/CustomerOrgDto.cs index 99193ae..0618845 100644 --- a/src/Shentun.Peis.Application.Contracts/CustomerOrgs/CustomerOrgDto.cs +++ b/src/Shentun.Peis.Application.Contracts/CustomerOrgs/CustomerOrgDto.cs @@ -120,5 +120,15 @@ namespace Shentun.Peis.CustomerOrgs /// 国家组织机构代码 /// public string CountryOrgCode { get; set; } + + /// + /// 销售员 + /// + public string SalesPerson { get; set; } + + /// + /// 销售员电话 + /// + public string SalesPersonPhone { get; set; } } } diff --git a/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs b/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs index 8771494..1ea8538 100644 --- a/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs +++ b/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; } /// @@ -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,