调研-时间排序
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
92fc9222db
commit
273c25dfdc
|
|
@ -453,7 +453,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public class SiteSurveyLogQuery
|
public class SiteSurveyLogQuery:SortInput
|
||||||
{
|
{
|
||||||
[NotDefault]
|
[NotDefault]
|
||||||
public Guid TrialSiteSurveyId { get; set; }
|
public Guid TrialSiteSurveyId { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1458,7 +1458,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
{
|
{
|
||||||
return _siteSurveyLogRepository.Where(t => t.TrialSiteSurveyId == inQuery.TrialSiteSurveyId)
|
return _siteSurveyLogRepository.Where(t => t.TrialSiteSurveyId == inQuery.TrialSiteSurveyId)
|
||||||
.WhereIf(inQuery.Id != null, t => t.Id == inQuery.Id)
|
.WhereIf(inQuery.Id != null, t => t.Id == inQuery.Id)
|
||||||
.ProjectTo<SiteSurveyLogDTO>(_mapper.ConfigurationProvider).ToList();
|
.ProjectTo<SiteSurveyLogDTO>(_mapper.ConfigurationProvider).OrderBy(t=>t.CreateTime).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue