维护阅片标准签名状态
parent
5133a38f6c
commit
7ca524c3d3
|
@ -62,6 +62,7 @@ namespace IRaCIS.Core.Application.Service.RC
|
|||
{
|
||||
SynchronizeOriginalTime = null,
|
||||
SynchronizeTime = DateTime.Now.AddYears(-20),
|
||||
IsSigned=false,
|
||||
ReadingInfoSignTime=null,
|
||||
|
||||
});
|
||||
|
|
|
@ -148,6 +148,7 @@ namespace IRaCIS.Core.Application
|
|||
|
||||
await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(x => x.Id == inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial()
|
||||
{
|
||||
IsSigned=true,
|
||||
ReadingInfoSignTime = DateTime.Now
|
||||
});
|
||||
|
||||
|
@ -298,7 +299,7 @@ namespace IRaCIS.Core.Application
|
|||
{
|
||||
IsGlobalReading = trialCriterion.IsGlobalReading,
|
||||
IsSystemCriterion = trialCriterion.ReadingQuestionCriterionSystemId != null,
|
||||
IsSign = trialCriterion.ReadingInfoSignTime != null,
|
||||
IsSign = trialCriterion.IsSigned,
|
||||
GlobalAssessTypes = await _readingCriterionDictionaryRepository.Where(x => x.CriterionId == inDto.TrialReadingCriterionId
|
||||
&& x.ParentCode == ReadingCommon.CriterionDictionary.GlobalAssess
|
||||
)
|
||||
|
@ -335,7 +336,7 @@ namespace IRaCIS.Core.Application
|
|||
EvaluationReason = trialCriterion.EvaluationReason.IsNullOrEmpty() ? ReadingCommon.EvaluationReason : trialCriterion.EvaluationReason,
|
||||
OncologyAssessIds = await _readingCriterionDictionaryRepository.Where(x => x.CriterionId == inDto.TrialReadingCriterionId && x.ParentCode == ReadingCommon.CriterionDictionary.OncologyAssess).Select(x => x.DictionaryId).ToListAsync(),
|
||||
IsSystemCriterion = trialCriterion.ReadingQuestionCriterionSystemId != null,
|
||||
IsSign = trialCriterion.ReadingInfoSignTime != null,
|
||||
IsSign = trialCriterion.IsSigned,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -402,7 +403,7 @@ namespace IRaCIS.Core.Application
|
|||
return (judgeQuestionList, new
|
||||
{
|
||||
|
||||
IsSign = trialCriterion.ReadingInfoSignTime != null,
|
||||
IsSign = trialCriterion.IsSigned,
|
||||
|
||||
});
|
||||
}
|
||||
|
|
|
@ -179,6 +179,11 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// </summary>
|
||||
public bool IsGlobalReading { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 是否签名
|
||||
/// </summary>
|
||||
public bool IsSigned { get; set; } = false;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 仲裁阅片
|
||||
|
|
|
@ -934,4 +934,8 @@ where ReadingQuestionTrial.ReadingQuestionSystemId is not null and ReadingTableQ
|
|||
from VisitTask
|
||||
|
||||
where RelatedVisitTaskIds='[]' and PastResultTaskIds='[]'
|
||||
and TaskState=0 and ( ReadingCategory=2 or ReadingCategory=5) and ReadingTaskState =2 and IsSelfAnalysis is not null
|
||||
and TaskState=0 and ( ReadingCategory=2 or ReadingCategory=5) and ReadingTaskState =2 and IsSelfAnalysis is not null
|
||||
|
||||
|
||||
--------------------------------------维护阅片标准签名状态----------------
|
||||
update ReadingQuestionCriterionTrial set IsSigned=1 where ReadingInfoSignTime is not null
|
Loading…
Reference in New Issue