修改项目导表-指定项目导出
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-08-20 14:03:42 +08:00
parent 9e1cc1521f
commit a6102490c8
2 changed files with 4 additions and 1 deletions

View File

@ -206,7 +206,8 @@ namespace IRaCIS.Core.Application.Service.Common
var isIR = _userInfo.UserTypeEnumInt == (int)UserTypeEnum.IndependentReviewer;
var query = _trialRepository.AsQueryable().IgnoreQueryFilters()
var query = _trialRepository.AsQueryable()
.WhereIf(inQuery.TrialIdList.Count()>0, o => inQuery.TrialIdList.Contains(o.Id))
.WhereIf(inQuery.SponsorId != null, o => o.SponsorId == inQuery.SponsorId)
.WhereIf(!string.IsNullOrEmpty(inQuery.Code), o => o.TrialCode.Contains(inQuery.Code))

View File

@ -279,6 +279,8 @@ namespace IRaCIS.Core.Application.Contracts
public CriterionType? CriterionType { get; set; }
public string? PM_EMail { get; set; }
public List<Guid> TrialIdList { get; set; }
}
public class TrialToBeDoneDto : TrialBaseInfoDto