质疑记录排序增加
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-07-28 13:29:26 +08:00
parent 19f700acc6
commit 47b8d5186e
1 changed files with 1 additions and 1 deletions

View File

@ -717,7 +717,7 @@ namespace IRaCIS.Core.Application.Image.QA
var qaChallengeQuery = _qcChallengeRepository.Where(t => t.SubjectVisitId == subjectVisitId && t.QCProcessEnum == trialQCProcess) var qaChallengeQuery = _qcChallengeRepository.Where(t => t.SubjectVisitId == subjectVisitId && t.QCProcessEnum == trialQCProcess)
.ProjectTo<ChallengeAndDialog>(_mapper.ConfigurationProvider, new { currentUserId = _userInfo.UserRoleId }); .ProjectTo<ChallengeAndDialog>(_mapper.ConfigurationProvider, new { currentUserId = _userInfo.UserRoleId });
var list = await qaChallengeQuery.ToListAsync(); var list = await qaChallengeQuery.OrderByDescending(t=>t.CreateTime).ToListAsync();
//list.ForEach(t => t.DialogList.ToList().ForEach(u => u.IsCurrentUser = _userInfo.Id == u.CreateUserId)); //list.ForEach(t => t.DialogList.ToList().ForEach(u => u.IsCurrentUser = _userInfo.Id == u.CreateUserId));