Uat_Study
he 2023-06-05 14:35:56 +08:00
parent 1d3e324b9a
commit f6f3fcf1d3
1 changed files with 10 additions and 2 deletions

View File

@ -400,13 +400,21 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
/// <param name="type"></param>
/// <returns></returns>
[HttpPost]
public async Task TestCalculate(Guid visitTaskId, QuestionType type)
public async Task TestCalculate(Guid visitTaskId, QuestionType? type)
{
//_logger.LogError("测试计算");
ReadingCalculateDto readingData = await _generalCalculateService.GetReadingCalculateDto(visitTaskId);
// await _generalCalculateService.LogRecord(readingData, "其他既往新病灶", LesionType.OtherPreviousNewLesion);
if (type == null)
{
await ReadingCalculate(readingData);
}
else
await ReadingCalculate(readingData,new List<QuestionType>() { type});
{
await ReadingCalculate(readingData, new List<QuestionType>() { type });
}
}