修改site调研

Uat_Study
hang 2022-11-01 15:09:01 +08:00
parent bd998673f7
commit bfacee55cf
2 changed files with 3 additions and 1 deletions

View File

@ -456,7 +456,7 @@ namespace IRaCIS.Core.Application.Contracts
[HttpGet("{trialId:guid}")]
public async Task<TrialSurveyInitInfo> GetTrialSurveyInitInfo(Guid trialId)
{
var info = await _repository.Where<Trial>(t => t.Id == trialId).IgnoreQueryFilters().ProjectTo<TrialSurveyInitInfo>(_mapper.ConfigurationProvider).FirstOrDefaultAsync().IfNullThrowException();
var info = await _repository.Where<Trial>(t => t.Id == trialId)/*.IgnoreQueryFilters()*/.ProjectTo<TrialSurveyInitInfo>(_mapper.ConfigurationProvider).FirstOrDefaultAsync().IfNullThrowException();
return info;
}

View File

@ -74,6 +74,8 @@ namespace IRaCIS.Application.Contracts
public bool IsSubjectSexView { get; set; } = false;
public bool IsSubjectExpeditedView { get; set; } = false;
public bool IsPDProgressView { get; set; }
public bool IsSubjectSecondCodeView { get; set; } = false;
}