修改
This commit is contained in:
+19
-10
@@ -20,6 +20,7 @@ using DocumentFormat.OpenXml.Drawing.Charts;
|
||||
using IRaCIS.Core.Application.Service.ReadingCalculate.Interface;
|
||||
using AutoMapper.QueryableExtensions;
|
||||
using IRaCIS.Application.Contracts;
|
||||
using IRaCIS.Core.Domain.Models;
|
||||
|
||||
namespace IRaCIS.Application.Services
|
||||
{
|
||||
@@ -1741,18 +1742,26 @@ namespace IRaCIS.Application.Services
|
||||
return await ChangeDicomReadingQuestionAnswer(inDto);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 保存任务问题 带动态稽查参数
|
||||
/// </summary>
|
||||
/// <param name="inDto"></param>
|
||||
/// <returns></returns>
|
||||
/// <summary>
|
||||
/// 保存任务问题 带动态稽查参数
|
||||
/// </summary>
|
||||
/// <param name="inDto"></param>
|
||||
/// <returns></returns>
|
||||
[Route("/SaveTaskQuestion/{param}")]
|
||||
[HttpPost]
|
||||
[TypeFilter(typeof(TrialResourceFilter), Arguments = new object[] { "AfterStopCannNotOpt" })]
|
||||
public async Task<IResponseOutput> SaveTaskQuestion(ChangeDicomReadingQuestionAnswerInDto inDto)
|
||||
{
|
||||
return await this.SaveImageQuality(inDto);
|
||||
}
|
||||
public async Task<IResponseOutput> SaveTaskQuestion(ChangeDicomReadingQuestionAnswerInDto inDto, string param)
|
||||
{
|
||||
var taskinfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Include(x => x.TrialReadingCriterion).FirstNotNullAsync();
|
||||
var result = await this.SaveImageQuality(inDto);
|
||||
// 保存脾尖或者脾底进行计算
|
||||
if (taskinfo.TrialReadingCriterion.CriterionType == CriterionType.Lugano2014 && (param == "4" || param == "5"))
|
||||
{
|
||||
await _luganoCalculateService.SaveSplenicCalculate(inDto.VisitTaskId);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
///// <summary>
|
||||
///// 保存ECRF
|
||||
|
||||
Reference in New Issue
Block a user