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; }