修改一版
parent
790f0b7237
commit
059e55339c
|
@ -171,6 +171,22 @@ namespace IRaCIS.Core.Application
|
||||||
x.CriterionId = inDto.TrialReadingCriterionId;
|
x.CriterionId = inDto.TrialReadingCriterionId;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (trialCriterion.SynchronizeOriginalTime == null )
|
||||||
|
{
|
||||||
|
// 同步器官
|
||||||
|
await _iOrganInfoService.SynchronizeSystemOrganToTrial(new SynchronizeSystemOrganToTrialInDto()
|
||||||
|
{
|
||||||
|
TrialReadingCriterionId = inDto.TrialReadingCriterionId,
|
||||||
|
SystemCriterionId = trialCriterion.ReadingQuestionCriterionSystemId
|
||||||
|
});
|
||||||
|
|
||||||
|
// 同步问题
|
||||||
|
await iReadingQuestionService.SynchronizeCriterion(new SynchronizeCriterionInDto()
|
||||||
|
{
|
||||||
|
|
||||||
|
TrialReadingCriterionId = inDto.TrialReadingCriterionId,
|
||||||
|
});
|
||||||
|
}
|
||||||
await _readingCriterionDictionaryRepository.AddRangeAsync(criterionDictionaryList);
|
await _readingCriterionDictionaryRepository.AddRangeAsync(criterionDictionaryList);
|
||||||
await _readingCriterionDictionaryRepository.SaveChangesAsync();
|
await _readingCriterionDictionaryRepository.SaveChangesAsync();
|
||||||
}
|
}
|
||||||
|
@ -360,22 +376,7 @@ namespace IRaCIS.Core.Application
|
||||||
result.FormType = trialCriterion.FormType;
|
result.FormType = trialCriterion.FormType;
|
||||||
result.IsFromSystem = trialCriterion.ReadingQuestionCriterionSystemId != null;
|
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,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
result.IsSystemCriterion = trialCriterion.ReadingQuestionCriterionSystemId != null;
|
result.IsSystemCriterion = trialCriterion.ReadingQuestionCriterionSystemId != null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 阅片平台
|
/// 阅片平台
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ImagePlatform ImagePlatform { get; set; } = ImagePlatform.MINT;
|
public ImagePlatform ImagePlatform { get; set; } = ImagePlatform.PACS;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 阅片工具
|
/// 阅片工具
|
||||||
|
@ -154,7 +154,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 仲裁对象
|
/// 仲裁对象
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ArbitrationRule ArbitrationRule { get; set; } = ArbitrationRule.None;
|
public ArbitrationRule ArbitrationRule { get; set; } = ArbitrationRule.Reading;
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue