修改中心调研

Uat_Study
hang 2023-07-14 13:39:15 +08:00
parent fbd24fd059
commit f7c41d1b9a
1 changed files with 2 additions and 1 deletions

View File

@ -762,7 +762,8 @@ namespace IRaCIS.Core.Application.Contracts
else if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager) else if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager)
{ {
foreach (var group in (siteUserList.GroupBy(t => new { t.Email, t.IsGenerateAccount, t.UserTypeId }))) foreach (var group in (siteUserList.Where(t=>t.IsGenerateAccount && t.TrialSiteSurveyId==trialSiteSurveyId)
.GroupBy(t => new { t.Email, t.IsGenerateAccount, t.UserTypeId })))
{ {
if (group.Count() > 1) if (group.Count() > 1)
{ {