修改国际化

master
he 2024-10-30 13:58:25 +08:00
parent 6fa2526337
commit 52076d7e70
1 changed files with 2 additions and 2 deletions

View File

@ -106,12 +106,12 @@ namespace IRaCIS.Core.Application.Services
{
if (await _subjectVisitRepository.AnyAsync(t => t.SubjectId == svCommand.SubjectId && t.IsFinalVisit))
{
throw new BusinessValidationFailedException("设置末次评估后,不允许添加计划外检查批次。");
throw new BusinessValidationFailedException("Unplanned visits cannot be added after setting the visit as the final assessment.");
}
if (await _repository.AnyAsync<VisitTask>(t => t.SubjectId == svCommand.SubjectId && t.TaskState == TaskState.Effect && t.VisitTaskNum > svCommand.VisitNum && t.SignTime != null && t.TrialReadingCriterion.IsReadingTaskViewInOrder))
{
throw new BusinessValidationFailedException("该患者后续检查批次已有任务完成阅片(有序阅片标准),不允许在此添加,如果确实需要,请回退");
throw new BusinessValidationFailedException("There are completed reads in the subsequent study batches for this patients, so this study batch cannot be added.");
}
}