修改复核查询接口-001
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
405ab20ef5
commit
67a5f1c32c
|
@ -485,7 +485,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
|
||||
var sv = await _subjectVisitRepository.Where(t => t.Id == subjectVisitId).FirstNotNullAsync();
|
||||
|
||||
if (sv.SecondReviewState == SecondReviewState.None && sv.AuditState == AuditStateEnum.QCPassed)
|
||||
if (sv.AuditState == AuditStateEnum.QCPassed && inDto.CurrentQCEnum != CurrentQC.SecondReview)
|
||||
{
|
||||
|
||||
//现在之前历史质控的展示要从答案为主表取数据,添加和编辑按照之前方式
|
||||
|
@ -493,7 +493,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
questionAnswerlist = await _trialQCQuestionAnswerRepository.Where(x => x.SubjectVisitId == inDto.SubjectVisitId && x.QCProcessEnum == inDto.QCProcessEnum && x.CurrentQCEnum == inDto.CurrentQCEnum)
|
||||
.Select(data => new QCQuestionAnswer()
|
||||
{
|
||||
AnswerId=data.Id,
|
||||
AnswerId = data.Id,
|
||||
Answer = data.Answer,
|
||||
ShowOrder = data.TrialQCQuestionConfigure.ShowOrder,
|
||||
QuestionName = data.TrialQCQuestionConfigure.QuestionName,
|
||||
|
@ -520,7 +520,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
from leftanswer in answertemp.DefaultIfEmpty()
|
||||
select new QCQuestionAnswer()
|
||||
{
|
||||
AnswerId= leftanswer.Id,
|
||||
AnswerId = leftanswer.Id,
|
||||
Answer = leftanswer.Answer,
|
||||
ShowOrder = data.ShowOrder,
|
||||
QuestionName = data.QuestionName,
|
||||
|
|
Loading…
Reference in New Issue