医生下拉列表

Uat_Study
hang 2022-06-10 14:12:16 +08:00
parent 36f2cb60e7
commit 27a584575c
3 changed files with 21 additions and 3 deletions

View File

@ -1094,6 +1094,11 @@
名称
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetReadingClinicalDataListOutDto.ClinicalDataTrialSetId">
<summary>
下拉ID
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetReadingClinicalDataListOutDto.ClinicalDataLevel">
<summary>
临床级别

View File

@ -74,7 +74,11 @@ namespace IRaCIS.Core.Application.ViewModel
public class TrialDoctorUserSelectView
{
public Guid DoctorUserId { get; set; }
public Guid TrialId { get; set; }
public ReadingMethod ReadingType { get; set; }
public Guid? DoctorUserId { get; set; }
public string UserCode { get; set; }

View File

@ -82,9 +82,18 @@ namespace IRaCIS.Core.Application.Service
{
var query = from enroll in _enrollRepository.Where(t => t.TrialId == trialId)
join user in _userRepository.AsQueryable() on enroll.DoctorId equals user.DoctorId
select user;
select new TrialDoctorUserSelectView()
{
TrialId = enroll.TrialId,
ReadingType=enroll.Trial.ReadingType,
DoctorUserId= user.Id,
FullName=user.FullName,
UserCode=user.UserCode,
UserName=user.UserName,
UserTypeEnum=user.UserTypeRole.UserTypeEnum
};
return query.ProjectTo<TrialDoctorUserSelectView>(_mapper.ConfigurationProvider).ToList();
return query.ToList();
}