调研-时间排序

Uat_IRC_Net10
hang 2026-08-12 17:34:14 +08:00
parent d6fc7f7911
commit 49437034a3
2 changed files with 2 additions and 2 deletions

View File

@ -450,7 +450,7 @@ namespace IRaCIS.Core.Application.Contracts
}
public class SiteSurveyLogQuery
public class SiteSurveyLogQuery:SortInput
{
[NotDefault]
public Guid TrialSiteSurveyId { get; set; }

View File

@ -1458,7 +1458,7 @@ namespace IRaCIS.Core.Application.Contracts
{
return _siteSurveyLogRepository.Where(t => t.TrialSiteSurveyId == inQuery.TrialSiteSurveyId)
.WhereIf(inQuery.Id != null, t => t.Id == inQuery.Id)
.ProjectTo<SiteSurveyLogDTO>(_mapper.ConfigurationProvider).ToList();
.ProjectTo<SiteSurveyLogDTO>(_mapper.ConfigurationProvider).OrderBy(t=>t.CreateTime).ToList();
}
/// <summary>