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

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