From 5d6d7208239191794bd1f443b894f51da198a902 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Wed, 27 Mar 2024 15:30:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E7=8B=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomerOrgTypes/CustomerOrgTypeAppService.cs | 2 +- .../CustomerOrgs/CustomerOrgAppService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Shentun.Peis.Application/CustomerOrgTypes/CustomerOrgTypeAppService.cs b/src/Shentun.Peis.Application/CustomerOrgTypes/CustomerOrgTypeAppService.cs index 6b0f460..49cf179 100644 --- a/src/Shentun.Peis.Application/CustomerOrgTypes/CustomerOrgTypeAppService.cs +++ b/src/Shentun.Peis.Application/CustomerOrgTypes/CustomerOrgTypeAppService.cs @@ -60,7 +60,7 @@ namespace Shentun.Peis.CustomerOrgTypes { var entityDto = await base.GetAsync(id); entityDto.CreatorName = await _cacheService.GetUserNameAsync(entityDto.CreatorId); - entityDto.LastModifierName = await _cacheService.GetUserNameAsync(entityDto.CreatorId); + entityDto.LastModifierName = await _cacheService.GetUserNameAsync(entityDto.LastModifierId); return entityDto; } diff --git a/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs b/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs index 38e088d..b3a7c81 100644 --- a/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs +++ b/src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs @@ -59,7 +59,7 @@ namespace Shentun.Peis.CustomerOrgs { var entityDto = await base.GetAsync(id); entityDto.CreatorName = await _cacheService.GetUserNameAsync(entityDto.CreatorId); - entityDto.LastModifierName = await _cacheService.GetUserNameAsync(entityDto.CreatorId); + entityDto.LastModifierName = await _cacheService.GetUserNameAsync(entityDto.LastModifierId); return entityDto; }