修改中心调研提示
parent
6a56132de9
commit
85934de439
|
@ -708,7 +708,7 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
throw new BusinessValidationFailedException(_localizer["TrialSiteSurvey_MissingAccount"]);
|
||||
}
|
||||
|
||||
if (currentUserList.GroupBy(t => new { t.UserTypeId, t.Email })
|
||||
if (currentUserList.Where(t=>t.IsGenerateAccount && t.UserTypeId!=null).GroupBy(t => new { t.UserTypeId, t.Email })
|
||||
.Any(g => g.Count() > 1))
|
||||
{
|
||||
throw new BusinessValidationFailedException(_localizer["TrialSiteSurvey_DuplicateEmail"]);
|
||||
|
|
Loading…
Reference in New Issue