From 4079035d229404f1ad6ee22623829a405753d0ae Mon Sep 17 00:00:00 2001 From: "{872297557@qq.com}" <872297557@qq.com> Date: Tue, 13 Dec 2022 14:25:22 +0800 Subject: [PATCH] x --- IRaCIS.Core.Application/IRaCIS.Core.Application.xml | 8 ++++++++ .../Service/Management/UserTypeService.cs | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index b41d59e4..d1a4a7d4 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -9194,6 +9194,14 @@ + + + 验证默认问题是否回答 + + + + + 验证访视提交 diff --git a/IRaCIS.Core.Application/Service/Management/UserTypeService.cs b/IRaCIS.Core.Application/Service/Management/UserTypeService.cs index ea7470a8..16645de5 100644 --- a/IRaCIS.Core.Application/Service/Management/UserTypeService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserTypeService.cs @@ -116,7 +116,6 @@ namespace IRaCIS.Core.Application.Contracts } } - if (userTypeSelectEnum == UserTypeSelectEnum.SiteSurvey) { userTypeEnums = new List() { UserTypeEnum.CRA, UserTypeEnum.ClinicalResearchCoordinator }; @@ -138,7 +137,6 @@ namespace IRaCIS.Core.Application.Contracts - var query = userTypeServiceRepository.Where(x => x.UserTypeEnum != UserTypeEnum.SuperAdmin) .WhereIf(userTypeSelectEnum != UserTypeSelectEnum.None, t => userTypeEnums.Contains(t.UserTypeEnum)) .OrderBy(t => t.Order).ProjectTo(_mapper.ConfigurationProvider);