修改用户类型返回接口

Uat_Study
{872297557@qq.com} 2022-12-01 14:40:40 +08:00 committed by he
parent 42e9c11b72
commit ec62b90ea5
1 changed files with 13 additions and 0 deletions

View File

@ -136,6 +136,19 @@ namespace IRaCIS.Core.Application.Contracts
}
if (userTypeSelectEnum == UserTypeSelectEnum.EnrollOrPD_EMailCopy)
{
userTypeEnums = new List<UserTypeEnum>() { UserTypeEnum.CRA, UserTypeEnum.ClinicalResearchCoordinator };
}
if (userTypeSelectEnum == UserTypeSelectEnum.EnrollOrPD_EmailReceive)
{
userTypeEnums = new List<UserTypeEnum>() { UserTypeEnum.CPM, UserTypeEnum.SPM, UserTypeEnum.SMM, UserTypeEnum.CMM };
}
var query = userTypeServiceRepository.Where(x => x.UserTypeEnum != UserTypeEnum.SuperAdmin)