From 70336904c8dcb9ff029836bb4d7d9e3dd0ee70b2 Mon Sep 17 00:00:00 2001
From: wxd <123@qq.com>
Date: Fri, 10 May 2024 19:19:50 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=BD=8D=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../CustomerOrgs/CustomerOrgDto.cs | 10 ++++++++++
.../CustomerOrgs/CustomerOrgAppService.cs | 3 ++-
2 files changed, 12 insertions(+), 1 deletion(-)
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,