Browse Source

单独

bjmzak
DESKTOP-G961P6V\Zhh 2 years ago
parent
commit
5d6d720823
  1. 2
      src/Shentun.Peis.Application/CustomerOrgTypes/CustomerOrgTypeAppService.cs
  2. 2
      src/Shentun.Peis.Application/CustomerOrgs/CustomerOrgAppService.cs

2
src/Shentun.Peis.Application/CustomerOrgTypes/CustomerOrgTypeAppService.cs

@ -60,7 +60,7 @@ namespace Shentun.Peis.CustomerOrgTypes
{ {
var entityDto = await base.GetAsync(id); var entityDto = await base.GetAsync(id);
entityDto.CreatorName = await _cacheService.GetUserNameAsync(entityDto.CreatorId); entityDto.CreatorName = await _cacheService.GetUserNameAsync(entityDto.CreatorId);
entityDto.LastModifierName = await _cacheService.GetUserNameAsync(entityDto.CreatorId);
entityDto.LastModifierName = await _cacheService.GetUserNameAsync(entityDto.LastModifierId);
return entityDto; return entityDto;
} }

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

@ -59,7 +59,7 @@ namespace Shentun.Peis.CustomerOrgs
{ {
var entityDto = await base.GetAsync(id); var entityDto = await base.GetAsync(id);
entityDto.CreatorName = await _cacheService.GetUserNameAsync(entityDto.CreatorId); entityDto.CreatorName = await _cacheService.GetUserNameAsync(entityDto.CreatorId);
entityDto.LastModifierName = await _cacheService.GetUserNameAsync(entityDto.CreatorId);
entityDto.LastModifierName = await _cacheService.GetUserNameAsync(entityDto.LastModifierId);
return entityDto; return entityDto;
} }

Loading…
Cancel
Save