Uat_Study
parent
1d3e324b9a
commit
f6f3fcf1d3
|
@ -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 });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue