修改提示

This commit is contained in:
2022-05-12 15:35:58 +08:00
parent f18cd3ebb3
commit a8df6ef4d5
5 changed files with 8 additions and 7 deletions
@@ -89,7 +89,7 @@ namespace IRaCIS.Application.Services
{
// 最开始过滤site已经选择的用户 现在又改回去。。。
var query = _trialUseRepository.Where(t => t.TrialId == param.TrialId)
var query = _trialUseRepository.Where(t => t.TrialId == param.TrialId).IgnoreQueryFilters()
.Where(t => t.User.UserTypeEnum == UserTypeEnum.ClinicalResearchCoordinator)
.WhereIf(param.UserTypeId != null, t => t.User.UserTypeId == param.UserTypeId)
.WhereIf(!string.IsNullOrWhiteSpace(param.UserRealName), t => (t.User.FullName).Contains(param.UserRealName))