This commit is contained in:
2023-03-01 18:16:03 +08:00
2 changed files with 1 additions and 1 deletions
@@ -638,7 +638,7 @@ namespace IRaCIS.Core.Application.Service
var taskMedicalReview = await _taskMedicalReviewRepository.Where(x => x.Id == inDto.TaskMedicalReviewId).FirstNotNullAsync();
List<GetMedicalReviewDialogOutDto> result = await _readingMedicalReviewDialogRepository.Where(x => x.TaskMedicalReviewId == inDto.TaskMedicalReviewId)
.ProjectTo<GetMedicalReviewDialogOutDto>(_mapper.ConfigurationProvider)
.OrderByDescending(x => x.CreateTime).ToListAsync();
.OrderBy(x => x.CreateTime).ToListAsync();
result.ForEach(x => {
x.IsCurrentUser = x.CreateUserId == _userInfo.Id;
});