修改用户类型展示
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
52efdc28e4
commit
1fa94b95f0
|
@ -1007,7 +1007,7 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
|
||||
var dbUserType = _userTypeRepository.Where(t => userTypeIdList.Contains(t.Id)).ToList();
|
||||
|
||||
var usertyps = string.Join(',', dbUserType.Select(t => $"{t.UserTypeShortName} ({t.UserTypeName})"));
|
||||
var usertyps = string.Join(',', dbUserType.Select(t => t.UserTypeName));
|
||||
|
||||
await _mailVerificationService.SiteSurveyUserJoinEmail(trialId, identityUserId, usertyps, baseUrl, routeUrl);
|
||||
}
|
||||
|
@ -1210,7 +1210,7 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
if (isNeedSendEmail)
|
||||
{
|
||||
var dbUserType = _userTypeRepository.Where(t => userTypeIdList.Contains(t.Id)).ToList();
|
||||
var usertyps = string.Join(',', dbUserType.Select(t => $"{t.UserTypeShortName} ({t.UserTypeName})"));
|
||||
var usertyps = string.Join(',', dbUserType.Select(t => t.UserTypeName));
|
||||
await _mailVerificationService.SiteSurveyUserJoinEmail(trialId, identityUserId, usertyps, baseUrl, routeUrl);
|
||||
}
|
||||
await _trialSiteUserRoleRepository.SaveChangesAsync();
|
||||
|
|
|
@ -383,7 +383,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
await _trialIdentityUserRepository.SaveChangesAsync();
|
||||
|
||||
var usertyps = string.Join(',', userTypeList.Where(t => userTypeIdList.Contains(t.UserTypeId)).Select(t => $"{t.UserTypeShortName} ({t.UserTypeName})"));
|
||||
|
||||
var usertyps = string.Join(',', userTypeList.Where(t => userTypeIdList.Contains(t.UserTypeId)).Select(t => t.UserTypeName));
|
||||
|
||||
await _mailVerificationService.ExternalUserJoinEmail(trialId, identityUserId, usertyps, sendEmail.BaseUrl, sendEmail.RouteUrl);
|
||||
|
||||
|
|
Loading…
Reference in New Issue