From 5e789cd1ae9a9b22a6ab66a970457c372e9001de Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期五, 18 十月 2024 11:15:31 +0800
Subject: [PATCH] 增加资产匹配需要的额外约束字段,增加基础模块的排序功能(未完成)

---
 Service/HStation.Service.Assets.Core/05-service/08-FourLink/01-FourlinkMain/FourLinkManage.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/05-service/08-FourLink/01-FourlinkMain/FourLinkManage.cs b/Service/HStation.Service.Assets.Core/05-service/08-FourLink/01-FourlinkMain/FourLinkManage.cs
index d9366d9..f43500a 100644
--- a/Service/HStation.Service.Assets.Core/05-service/08-FourLink/01-FourlinkMain/FourLinkManage.cs
+++ b/Service/HStation.Service.Assets.Core/05-service/08-FourLink/01-FourlinkMain/FourLinkManage.cs
@@ -128,6 +128,19 @@
             return all.Where(x => x.SeriesID == 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

--
Gitblit v1.9.3