Uat_Study
parent
28f45da9c3
commit
a58e4ac1a1
|
@ -365,11 +365,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
|||
|
||||
public List<SubjectUserView> NowDoctorUserList => DoctorUserList.Where(t => t.OrignalSubjectUserId != null).ToList();
|
||||
|
||||
//public UserSimpleInfo SingelDoctorUser { get; set; }
|
||||
//public UserSimpleInfo DoubleDoctorUser1 { get; set; }
|
||||
//public UserSimpleInfo DoubleDoctorUser2 { get; set; }
|
||||
//public UserSimpleInfo JudgeDoctorUser { get; set; }
|
||||
//public UserSimpleInfo OncologyDoctorUser { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -71,6 +71,7 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
|||
|
||||
.ProjectTo<SubjectAssignStat>(_mapper.ConfigurationProvider);
|
||||
|
||||
|
||||
var pageList = await subjectQuery.ToPagedListAsync(querySubjectAssign.PageIndex, querySubjectAssign.PageSize, string.IsNullOrWhiteSpace(querySubjectAssign.SortField) ? nameof(querySubjectAssign.SubjectId) : querySubjectAssign.SortField, querySubjectAssign.Asc);
|
||||
|
||||
return pageList;
|
||||
|
@ -1002,7 +1003,8 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
|||
UnReadTaskCount = x.Where(y => y.ReReadingApplyState != ReReadingApplyState.HaveApplyed).Count(),
|
||||
ExistReadingApply = x.Any(y => y.ReReadingApplyState == ReReadingApplyState.HaveApplyed),
|
||||
UnReadTaskList = x.Where(y => y.ReReadingApplyState != ReReadingApplyState.HaveApplyed).OrderBy(x => x.VisitTaskNum)
|
||||
.Select(u => new IRUnreadTaskView() {
|
||||
.Select(u => new IRUnreadTaskView()
|
||||
{
|
||||
Id = u.Id,
|
||||
IsUrgent = u.IsUrgent,
|
||||
VisitNum = u.VisitTaskNum,
|
||||
|
|
|
@ -78,6 +78,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
|
||||
CreateMap<Subject, SubjectAssignStat>()
|
||||
|
||||
.ForMember(o => o.SubjectId, t => t.MapFrom(u => u.Id))
|
||||
.ForMember(o => o.TrialSiteCode, t => t.MapFrom(u => u.TrialSite.TrialSiteCode))
|
||||
.ForMember(o => o.SubjectCode, t => t.MapFrom(u => u.Code))
|
||||
.ForMember(o => o.VisitTaskTypeCount, t => t.MapFrom(u => u.SubjectVisitTaskList.Where(t => t.ReadingCategory == ReadingCategory.Visit).Select(t => t.VisitTaskNum).Distinct().Count()))
|
||||
|
|
Loading…
Reference in New Issue