Compare commits

..

No commits in common. "ab99265c88dc209712e8ce34ac9eadae3a7af541" and "9e1e32f16d06ff06449c96565be89d6826d73330" have entirely different histories.

2 changed files with 6 additions and 1 deletions

View File

@ -161,7 +161,7 @@ namespace IRaCIS.Application.Services
.WhereIf(dto.CompleteClinicalData == CompleteClinicalDataEnum.NotComplete, x => x.NeedSignClinicalDataCount != x.SignClinicalDataCount)
.WhereIf(dto.CompleteClinicalData == CompleteClinicalDataEnum.Complete, x => x.NeedSignClinicalDataCount != 0 && x.NeedSignClinicalDataCount == x.SignClinicalDataCount)
.WhereIf(dto.ReadingStatus != null, x => x.ReadingStatus == dto.ReadingStatus)
//.WhereIf(dto.Name != null, x => x.Name.Contains(dto.Name!)).OrderBy(x => x.SiteCode);
.WhereIf(dto.Name != null, x => x.Name.Contains(dto.Name!)).OrderBy(x => x.SiteCode);
var subjectIds = await subjectQuery.OrderBy(dto.SortField).Select(x => x.SubjectId).Distinct().Skip((dto.PageIndex - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync();

View File

@ -90,6 +90,11 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
public string? SubjectCode { get; set; }
/// <summary>
/// 中心Id
/// </summary>
public string? SiteCode { get; set; }
/// <summary>
/// 项目中心Id
/// </summary>