Uat_Study
he 2022-07-07 16:54:35 +08:00
parent a83967149b
commit 8b98e4872c
1 changed files with 9 additions and 3 deletions

View File

@ -187,6 +187,12 @@ namespace IRaCIS.Core.Application.Service
medicalReviewInfo.QuestionAnswerList = await this.GetMedicalQuestionAnswer(inDto); medicalReviewInfo.QuestionAnswerList = await this.GetMedicalQuestionAnswer(inDto);
await _taskMedicalReviewRepository.UpdatePartialFromQueryAsync(inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
{
AuditState = MedicalReviewAuditState.Auditing,
});
var result = await _readingMedicineQuestionAnswerRepository.SaveChangesAsync();
return medicalReviewInfo; return medicalReviewInfo;
} }
@ -263,7 +269,7 @@ namespace IRaCIS.Core.Application.Service
{ {
SaveQuestionTime = DateTime.Now, SaveQuestionTime = DateTime.Now,
AuditState = MedicalReviewAuditState.Auditing,
}); });
var result = await _readingMedicineQuestionAnswerRepository.SaveChangesAsync(); var result = await _readingMedicineQuestionAnswerRepository.SaveChangesAsync();
@ -286,7 +292,6 @@ namespace IRaCIS.Core.Application.Service
IsSendMessage = inDto.IsSendDialog && inDto.IsHaveQuestion, IsSendMessage = inDto.IsSendDialog && inDto.IsHaveQuestion,
AuditAdviceEnum = inDto.AuditAdviceEnum, AuditAdviceEnum = inDto.AuditAdviceEnum,
SaveConclusionTime=DateTime.Now, SaveConclusionTime=DateTime.Now,
AuditState= MedicalReviewAuditState.Auditing,
}); });
@ -524,6 +529,7 @@ namespace IRaCIS.Core.Application.Service
IsClosedDialog=x.IsClosedDialog, IsClosedDialog=x.IsClosedDialog,
IsHaveQuestion=x.IsHaveQuestion, IsHaveQuestion=x.IsHaveQuestion,
}); });
var result=await taskMedicalReviewquery.ToPagedListAsync(inDto.PageIndex, inDto.PageSize, inDto.SortField.IsNullOrEmpty() ? nameof(GetIRMedicalFeedbackListOutDto.AuditState) : inDto.SortField, var result=await taskMedicalReviewquery.ToPagedListAsync(inDto.PageIndex, inDto.PageSize, inDto.SortField.IsNullOrEmpty() ? nameof(GetIRMedicalFeedbackListOutDto.AuditState) : inDto.SortField,