This commit is contained in:
@@ -146,11 +146,17 @@ namespace IRaCIS.Core.Application.Image.QA
|
||||
|
||||
var dbQCChallenge = (await _qcChallengeRepository.FirstOrDefaultAsync(t => t.Id == input.qcChallengeId)).IfNullThrowException();
|
||||
|
||||
//复核的时候允许关闭
|
||||
|
||||
if (dbQCChallenge.ReuploadEnum == QCChanllengeReuploadEnum.CRCRequestReupload || dbQCChallenge.ReuploadEnum == QCChanllengeReuploadEnum.QCAgreeUpload)
|
||||
if (!_subjectVisitRepository.Any(t => t.Id == input.subjectVisitId && t.SecondReviewState == SecondReviewState.WaitAudit))
|
||||
{
|
||||
//---CRC已申请重传或者QC同意重传,不允许关闭该质疑。请在QC拒绝重传申请或者CRC设置重传影像后,再关闭质疑。
|
||||
throw new BusinessValidationFailedException(_localizer["QCOperation_QuestionCannotClose"]);
|
||||
|
||||
if (dbQCChallenge.ReuploadEnum == QCChanllengeReuploadEnum.CRCRequestReupload || dbQCChallenge.ReuploadEnum == QCChanllengeReuploadEnum.QCAgreeUpload)
|
||||
{
|
||||
//---CRC已申请重传或者QC同意重传,不允许关闭该质疑。请在QC拒绝重传申请或者CRC设置重传影像后,再关闭质疑。
|
||||
throw new BusinessValidationFailedException(_localizer["QCOperation_QuestionCannotClose"]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -80,7 +80,9 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
public List<StudyName> StudyNameList { get; set; }
|
||||
|
||||
|
||||
public bool IsIQCAutoNextTask { get; set; }
|
||||
|
||||
public bool IsIQCAutoTaskDistinguishType { get; set; }
|
||||
|
||||
public List<TrialObjectNameConfig> TrialObjectNameList { get; set; }
|
||||
|
||||
@@ -1120,6 +1122,9 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
|
||||
public List<string> StudyUseStudyNameList { get; set; }
|
||||
|
||||
public bool IsIQCAutoNextTask { get; set; }
|
||||
|
||||
public bool IsIQCAutoTaskDistinguishType { get; set; }
|
||||
|
||||
//public bool IsTrialStart { get; set; } = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user