Uat_Study
he 2022-08-09 16:04:17 +08:00
parent 5b74fc6f11
commit 07e084925e
2 changed files with 6 additions and 1 deletions

View File

@ -619,6 +619,9 @@ namespace IRaCIS.Core.Application.Contracts
/// </summary>
public int? DigitPlaces { get; set; }
public bool IsFromSystem { get; set; } = false;
public FormType? FormType { get; set; }

View File

@ -232,7 +232,9 @@ namespace IRaCIS.Core.Application
result.DigitPlaces = trialCriterion.DigitPlaces;
result.TrialCriterionId = trialCriterion.Id;
result.FormType = trialCriterion.FormType;
result.IsFromSystem= trialCriterion.ReadingQuestionCriterionSystemId!=null,
};
result.TrialQuestionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrial.IsConfirm && x.TrialId == inDto.TrialId&&x.ReadingQuestionCriterionTrialId == result.TrialCriterionId