修改一版
parent
e9eeedf010
commit
09fc253d67
|
@ -81,6 +81,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
|
|
||||||
public class PreviewTheReadingListInDto : PageInput
|
public class PreviewTheReadingListInDto : PageInput
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 阅片范围
|
||||||
|
/// </summary>
|
||||||
|
public ReadingScopeEnum ReadingScope { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 中心ID
|
/// 中心ID
|
||||||
|
|
|
@ -120,7 +120,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
// 当前项目 最晚拍片日期不为null 中心筛选
|
// 当前项目 最晚拍片日期不为null 中心筛选
|
||||||
var visitQuery = _subjectVisitRepository.Where(x => x.TrialId == inDto.TrialId &&x.LatestScanDate!=null&&!x.IsLostVisit)
|
var visitQuery = _subjectVisitRepository.Where(x => x.TrialId == inDto.TrialId &&x.LatestScanDate!=null&&!x.IsLostVisit)
|
||||||
.WhereIf(inDto.SiteIds.Count != 0, x => inDto.SiteIds.Contains(x.SiteId));
|
.WhereIf(inDto.ReadingScope== ReadingScopeEnum.Site, x => inDto.SiteIds.Contains(x.SiteId));
|
||||||
|
|
||||||
// 已经存在的访视 需要排除
|
// 已经存在的访视 需要排除
|
||||||
var existsBubjectVisitsQuery= _readModuleRepository.Where(y => y.ReadingSetType == inDto.ReadingSetType && y.TrialId == inDto.TrialId).Select(x => x.SubjectVisitId);
|
var existsBubjectVisitsQuery= _readModuleRepository.Where(y => y.ReadingSetType == inDto.ReadingSetType && y.TrialId == inDto.TrialId).Select(x => x.SubjectVisitId);
|
||||||
|
|
Loading…
Reference in New Issue