Merge pull request '排序' (#36) from S01-轨迹中台 into dev
Reviewed-on: http://192.168.80.50:3000/Dotnet/SJZY.Track.Api/pulls/36
This commit is contained in:
commit
36c9d8b82d
@ -47,7 +47,7 @@ public class GetTrackTemplateContentPageOutputVO
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排序
|
/// 排序
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public long Sort { get; set; }
|
public int Sort { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 轨迹标记
|
/// 轨迹标记
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user