医生下拉列表
parent
36f2cb60e7
commit
27a584575c
|
@ -1094,6 +1094,11 @@
|
||||||
名称
|
名称
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</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">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetReadingClinicalDataListOutDto.ClinicalDataLevel">
|
||||||
<summary>
|
<summary>
|
||||||
临床级别
|
临床级别
|
||||||
|
|
|
@ -74,7 +74,11 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||||
|
|
||||||
public class TrialDoctorUserSelectView
|
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; }
|
public string UserCode { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -82,9 +82,18 @@ namespace IRaCIS.Core.Application.Service
|
||||||
{
|
{
|
||||||
var query = from enroll in _enrollRepository.Where(t => t.TrialId == trialId)
|
var query = from enroll in _enrollRepository.Where(t => t.TrialId == trialId)
|
||||||
join user in _userRepository.AsQueryable() on enroll.DoctorId equals user.DoctorId
|
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue