修改一版

This commit is contained in:
he
2022-10-26 11:44:53 +08:00
parent b80fd3cd25
commit a2f5f9abc2
6 changed files with 434 additions and 85 deletions
@@ -113,6 +113,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string BlindName { get; set; }
public decimal VisitTaskNum { get; set; }
public Guid VisitTaskId { get; set; }
public Guid BaseLineTaskId { get; set; }
@@ -219,6 +221,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string BlindName { get; set; }
public decimal SOD { get; set; }
public decimal VisitTaskNum { get; set; }
public decimal NewLesionsCount { get; set; }
}
public class ChangeAllTaskDto
@@ -234,6 +240,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public Func<ReadingCalculateDto, Task<decimal>> GetDecimalFun { get; set; }
public Func<ReadingCalculateDto, Task<int>> GetIntFun { get; set; }
public Func<ReadingCalculateDto, Task<decimal?>> GetDecimalNullFun { get; set; }
public Func<ReadingCalculateDto, Task<string>> GetStringFun { get; set; }
@@ -997,7 +997,8 @@ namespace IRaCIS.Application.Services
if (rowCount > item.MaxRowCount.Value - 1)
{
throw new BusinessValidationFailedException($"问题{item.QuestionName}最大相同问题数为{item.MaxRowCount.Value},当前已存在{rowCount}条!");
//throw new BusinessValidationFailedException($"问题{item.QuestionName}最大相同问题数为{item.MaxRowCount.Value},当前已存在{rowCount}条!");
throw new BusinessValidationFailedException($"当前器官上已有{rowCount}个病灶!");
}
}