修改site调研
parent
bd998673f7
commit
bfacee55cf
|
@ -456,7 +456,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
[HttpGet("{trialId:guid}")]
|
[HttpGet("{trialId:guid}")]
|
||||||
public async Task<TrialSurveyInitInfo> GetTrialSurveyInitInfo(Guid trialId)
|
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;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,8 @@ namespace IRaCIS.Application.Contracts
|
||||||
public bool IsSubjectSexView { get; set; } = false;
|
public bool IsSubjectSexView { get; set; } = false;
|
||||||
public bool IsSubjectExpeditedView { get; set; } = false;
|
public bool IsSubjectExpeditedView { get; set; } = false;
|
||||||
|
|
||||||
|
public bool IsPDProgressView { get; set; }
|
||||||
|
|
||||||
public bool IsSubjectSecondCodeView { get; set; } = false;
|
public bool IsSubjectSecondCodeView { get; set; } = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue