Service/HStation.Service.Assets.Core/05-service/02-Adapting/AdaptingManage.cs
@@ -137,6 +137,19 @@ return all.Where(x => Ids.Contains(x.ID)).ToList(); } /// <summary> /// 获取最大排序码 /// </summary> public int GetMaxSortCode() { var all = GetAll(); if (all == null || all.Count < 1) { return 0; } return all.Max(x => x.SortCode); } #endregion Query #region Insert