修改一版
parent
08bb3e748a
commit
3d666377c3
|
@ -625,7 +625,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)
|
||||
.OrderBy(x => x.CreateTime).ToListAsync();
|
||||
.OrderByDescending(x => x.CreateTime).ToListAsync();
|
||||
result.ForEach(x => {
|
||||
x.IsCurrentUser = x.CreateUserId == _userInfo.Id;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue