This commit is contained in:
柳文翔 2024-03-02 16:41:07 +08:00
parent 07f603acef
commit 569f566fe2
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public class GetTrackTemplateContentPageOutputVO
/// <summary> /// <summary>
/// 排序 /// 排序
/// </summary> /// </summary>
public long Sort { get; set; } public int Sort { get; set; }
/// <summary> /// <summary>
/// 轨迹标记 /// 轨迹标记

View File

@ -97,6 +97,7 @@ public class TrackTemplateRepository : BasicRepository<TrackTemplateEntity>, ITr
UpdateTime = templateContent.UpdateTime, UpdateTime = templateContent.UpdateTime,
UpdateUser = updateUser.Name UpdateUser = updateUser.Name
}, true) }, true)
.OrderBy(templateContent => templateContent.Sort)
.ToPagedListAsync(input.PageIndex, input.PageSize); .ToPagedListAsync(input.PageIndex, input.PageSize);
} }