Merge branch '中心影像_Test环境' of http://192.168.1.2:8033/IRaCIS_Core_Api into 中心影像_Test环境
This commit is contained in:
@@ -470,7 +470,7 @@ namespace IRaCIS.Application.Services
|
||||
(x.TrialId == taskInfo.TrialId &&
|
||||
x.SubjectId == taskInfo.SubjectId &&
|
||||
x.ArmEnum == taskInfo.ArmEnum &&
|
||||
x.DoctorUserId == taskInfo.DoctorUserId &&
|
||||
//x.DoctorUserId == taskInfo.DoctorUserId &&
|
||||
x.ReadingTaskState == ReadingTaskState.HaveSigned &&
|
||||
x.TrialReadingCriterionId == taskInfo.TrialReadingCriterionId &&
|
||||
x.TaskState == TaskState.Effect &&
|
||||
@@ -1659,8 +1659,9 @@ namespace IRaCIS.Application.Services
|
||||
throw new BusinessValidationFailedException(_localizer["ReadingImage_Idnotcorrespond"]);
|
||||
}
|
||||
}
|
||||
var taskinfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Include(x => x.TrialReadingCriterion).FirstNotNullAsync();
|
||||
|
||||
var taskinfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Include(x => x.TrialReadingCriterion).FirstNotNullAsync();
|
||||
var criterionName = taskinfo.TrialReadingCriterion.CriterionName;
|
||||
switch (taskinfo.TrialReadingCriterion.CriterionType)
|
||||
{
|
||||
// 对于非靶病灶,如果状态选择为显著增大,请验证:
|
||||
@@ -1816,7 +1817,9 @@ namespace IRaCIS.Application.Services
|
||||
&& x.QuestionId == inDto.QuestionId
|
||||
).CountAsync()) + 1))
|
||||
{
|
||||
throw new BusinessValidationFailedException(_localizer["ReadingImage_MaxQuestion", questionInfo.MaxQuestionCount]);
|
||||
var errormsg = _localizer["ReadingImage_MaxQuestion", questionInfo.MaxQuestionCount].Value;
|
||||
errormsg = errormsg.Replace("《独立影像评估章程》", criterionName + "评估标准");
|
||||
throw new BusinessValidationFailedException(errormsg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1841,8 +1844,7 @@ namespace IRaCIS.Application.Services
|
||||
Dictionary<CriterionType, string> errorMsgDic = new Dictionary<CriterionType, string>()
|
||||
{
|
||||
{CriterionType.RECIST1Point1, _localizer["ReadingImage_Maxlesion", item.MaxRowCount.Value]},
|
||||
|
||||
{CriterionType.PCWG3, _localizer["ReadingImage_PCWGMaximum", item.MaxRowCount.Value]},
|
||||
{CriterionType.PCWG3, _localizer["ReadingImage_PCWGMaximum", item.MaxRowCount.Value]},
|
||||
};
|
||||
var rowCount = 0;
|
||||
if ((item.QuestionMark == QuestionMark.Part || item.QuestionMark == QuestionMark.Organ) && inDto.OrganInfoId != null)
|
||||
@@ -1883,6 +1885,7 @@ namespace IRaCIS.Application.Services
|
||||
{
|
||||
|
||||
msg = _localizer["ReadingImage_Maximum", item.QuestionName.LanguageName(item.QuestionEnName, _userInfo.IsEn_Us), item.MaxRowCount.Value, item.MaxRowCount.Value];
|
||||
msg = msg.Replace("《独立影像评估章程》", criterionName + "评估标准");
|
||||
}
|
||||
|
||||
throw new BusinessValidationFailedException(msg);
|
||||
@@ -1907,6 +1910,7 @@ namespace IRaCIS.Application.Services
|
||||
{
|
||||
|
||||
msg = _localizer["ReadingImage_Maximum", item.QuestionName.LanguageName(item.QuestionEnName, _userInfo.IsEn_Us), item.MaxRowCount.Value, rowCount];
|
||||
msg = msg.Replace("《独立影像评估章程》", criterionName + "评估标准");
|
||||
}
|
||||
|
||||
throw new BusinessValidationFailedException(msg);
|
||||
|
||||
Reference in New Issue
Block a user