修改bug
parent
f828a7d1e2
commit
80ad4be4cb
|
@ -92,7 +92,7 @@ namespace IRaCIS.Application.Services
|
|||
.WhereIf(!string.IsNullOrWhiteSpace(selectionQuery.Name), t => t.ChineseName.Contains(selectionQuery.Name) || (t.LastName + t.FirstName).Contains(selectionQuery.Name))
|
||||
.WhereIf(evaluationCriteriaCount > 0, t => t.TrialExperienceCriteriaList.Count(t => selectionQuery.EvaluationCriteriaIdList.Contains(t.EvaluationCriteriaId)) == evaluationCriteriaCount)
|
||||
//用户类型 看到简历的范围这里需要确认
|
||||
.WhereIf(_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ReviewerCoordinator, t => t.UserList.Any(u => u.UserId == _userInfo.Id))
|
||||
//.WhereIf(_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ReviewerCoordinator, t => t.UserList.Any(u => u.UserId == _userInfo.Id))
|
||||
.WhereIf(count > 0, t => t.DoctorDicRelationList.Count(u => guidList.Contains(u.DictionaryId)) == count)
|
||||
.WhereIf(selectionQuery.EnrollStatus != null && selectionQuery.EnrollStatus == (int)ReviewerEnrollStatus.Yes, t => t.EnrollList.Any(u => u.EnrollStatus == EnrollStatus.DoctorReading))
|
||||
|
||||
|
|
|
@ -18,9 +18,9 @@ namespace IRaCIS.Core.Domain.Models
|
|||
public List<TrialExperienceCriteria> TrialExperienceCriteriaList { get; set; }
|
||||
|
||||
|
||||
// UserDoctor表关联 一个医生 可被多个用户管理
|
||||
[JsonIgnore]
|
||||
public List<UserDoctor> UserList { get; set; }
|
||||
//// UserDoctor表关联 一个医生 可被多个用户管理
|
||||
//[JsonIgnore]
|
||||
//public List<UserDoctor> UserList { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<Enroll> EnrollList { get; set; }
|
||||
|
|
Loading…
Reference in New Issue