Uat_Study
parent
1f0d5c77da
commit
3b9e8277e1
|
@ -283,6 +283,22 @@ namespace IRaCIS.Core.Application
|
|||
result.FormType = trialCriterion.FormType;
|
||||
result.IsFromSystem = trialCriterion.ReadingQuestionCriterionSystemId != null;
|
||||
|
||||
if (trialCriterion.SynchronizeOriginalTime == null && trialCriterion.ReadingQuestionCriterionSystemId != null)
|
||||
{
|
||||
// 同步器官
|
||||
await _iOrganInfoService.SynchronizeSystemOrganToTrial(new SynchronizeSystemOrganToTrialInDto()
|
||||
{
|
||||
TrialReadingCriterionId = inDto.TrialReadingCriterionId,
|
||||
SystemCriterionId = trialCriterion.ReadingQuestionCriterionSystemId
|
||||
});
|
||||
|
||||
// 同步问题
|
||||
await iReadingQuestionService.SynchronizeCriterion(new SynchronizeCriterionInDto()
|
||||
{
|
||||
|
||||
TrialReadingCriterionId = inDto.TrialReadingCriterionId,
|
||||
});
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue