This commit is contained in:
he
2022-07-13 15:48:05 +08:00
parent 491b0a4d7d
commit 353fc63f5e
4 changed files with 8 additions and 6 deletions
@@ -559,7 +559,7 @@ namespace IRaCIS.Core.Application.Contracts
public class SetTrialReadingCriterionInDto
{
public Guid ReadingQuestionCriterionTrialId { get; set; }
public Guid TrialCriterionId { get; set; }
/// <summary>
/// 表单类型
@@ -126,13 +126,16 @@ namespace IRaCIS.Core.Application
return result;
}
/// <summary>
/// 设置项目阅片标准
/// </summary>
/// <returns></returns>
public async Task<IResponseOutput> SetTrialReadingCriterion(SetTrialReadingCriterionInDto inDto)
{
await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.ReadingQuestionCriterionTrialId, x => new ReadingQuestionCriterionTrial()
await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialCriterionId, x => new ReadingQuestionCriterionTrial()
{
FormType = inDto.FormType,