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>
public long Sort { get; set; }
public int Sort { get; set; }
/// <summary>
/// 轨迹标记

View File

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