@@ -205,6 +205,8 @@ namespace IRaCIS.Application.Contracts
|
||||
|
||||
public string FullName { get; set; } = String.Empty;
|
||||
|
||||
public string UserTypeShortName { get; set; }
|
||||
|
||||
public bool IsSelect { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ using IRaCIS.Core.Domain.Share;
|
||||
using IRaCIS.Core.Infrastructure;
|
||||
using Medallion.Threading;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using DocumentFormat.OpenXml.Spreadsheet;
|
||||
using IRaCIS.Core.Domain.Models;
|
||||
|
||||
namespace IRaCIS.Core.Application.Service
|
||||
{
|
||||
@@ -276,15 +278,16 @@ namespace IRaCIS.Core.Application.Service
|
||||
}
|
||||
}
|
||||
|
||||
//判断TrialUser中是否存在 不存在就插入 注意退出了,也不能再加进来
|
||||
|
||||
}
|
||||
|
||||
await _mailVerificationService.ExternalUserJoinEmail(trialId, userId,userTypeId, sendEmail.BaseUrl, sendEmail.RouteUrl);
|
||||
foreach (var item in sendEmail.SendUsers.GroupBy(t=>t.SystemUserId))
|
||||
{
|
||||
await _mailVerificationService.ExternalUserJoinEmail(trialId, item.Key, sendEmail.BaseUrl, sendEmail.RouteUrl);
|
||||
|
||||
}
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
OrganizationName = t.IdentityUser.OrganizationName,
|
||||
Phone = t.IdentityUser.Phone,
|
||||
UserName = t.IdentityUser.UserName,
|
||||
|
||||
UserTypeShortName=t.UserTypeRole.UserTypeShortName,
|
||||
IsSelect = t.UserRoleTrials.Any(t => t.TrialId == inQuery.TrialId),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user