修改访视
parent
714c136d12
commit
f679eba8fb
|
@ -48,6 +48,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
|
||||
CreateMap<DicomSeries, QASeriesInfoDto>()
|
||||
.ForMember(o => o.StudyTime, t => t.MapFrom(u => u.DicomStudy.StudyTime))
|
||||
|
||||
.ForMember(o => o.StudyCode, t => t.MapFrom(u => u.DicomStudy.StudyCode))
|
||||
.ForMember(o => o.InstanceList, t => t.MapFrom(u => u.DicomInstanceList.Select(t=>t.Id).ToArray()))
|
||||
;
|
||||
|
|
|
@ -386,6 +386,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO
|
|||
|
||||
public class QASeriesInfoDto
|
||||
{
|
||||
public DateTime? StudyTime { get; set; }
|
||||
|
||||
public string StudyCode { get; set; } = string.Empty;
|
||||
public Guid Id { get; set; }
|
||||
public Guid StudyId { get; set; }
|
||||
|
|
|
@ -359,7 +359,6 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
public string SubjectCode { get; set; } = String.Empty;
|
||||
public String TrialSiteCode { get; set; } = String.Empty;
|
||||
|
||||
public ChallengeStateEnum ChallengeState { get; set; }
|
||||
|
||||
|
||||
public int? ChallengeCount { get; set; }
|
||||
|
@ -400,7 +399,7 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
|
||||
public class QCVisitBasicListViewModel
|
||||
{
|
||||
|
||||
public ChallengeStateEnum ChallengeState { get; set; }
|
||||
public bool? IsConfirmedClinicalData { get; set; }
|
||||
public bool IsQCConfirmedReupload { get; set; }
|
||||
|
||||
|
|
|
@ -76,8 +76,8 @@ namespace IRaCIS.Application.Services
|
|||
public async Task<List<TrialSelectDTO>> GetTrialSelect()
|
||||
{
|
||||
return await _trialRepository.AsQueryable()
|
||||
.WhereIf(_userInfo.UserTypeEnumInt != (int)UserTypeEnum.SuperAdmin, t => t.TrialUserList.Any(t => t.UserId == _userInfo.Id))
|
||||
.WhereIf(_userInfo.UserTypeEnumInt != (int)UserTypeEnum.SuperAdmin && _userInfo.UserTypeEnumInt != (int)UserTypeEnum.ProjectManager && _userInfo.UserTypeEnumInt != (int)UserTypeEnum.APM, t => t.IsDeleted == false)
|
||||
.WhereIf(_userInfo.UserTypeEnumInt != (int)UserTypeEnum.SuperAdmin, t => t.TrialUserList.Any(t => t.UserId == _userInfo.Id) && t.IsDeleted == false)
|
||||
|
||||
.ProjectTo<TrialSelectDTO>(_mapper.ConfigurationProvider).ToListAsync();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue