From ea882c1741812b0783b2924548cb9e8c638a1be9 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期二, 24 十二月 2024 13:50:36 +0800
Subject: [PATCH] 修改资产--弯头

---
 BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/01-AssetsElbowSeries/AssetsElbowSeries.cs |   89 +++++++++++++++++++++++++++++++++++---------
 1 files changed, 71 insertions(+), 18 deletions(-)

diff --git a/BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/01-AssetsElbowSeries/AssetsElbowSeries.cs b/BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/01-AssetsElbowSeries/AssetsElbowSeries.cs
index b9cd52c..988f12f 100644
--- a/BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/01-AssetsElbowSeries/AssetsElbowSeries.cs
+++ b/BLL/HStation.BLL.Assets.Core/04-bll/06-Elbow/01-AssetsElbowSeries/AssetsElbowSeries.cs
@@ -1,5 +1,4 @@
-锘縰sing HStation.Vmo;
-using Yw.BLL;
+锘縰sing Yw.BLL;
 
 namespace HStation.BLL
 {
@@ -87,18 +86,81 @@
             return bol;
         }
 
-        #endregion Update
-
-        #region Delete
-
         /// <summary>
-        /// 鍏ㄩ儴鍒犻櫎
+        /// 鏇存柊鎺掑簭鐮�
         /// </summary>
-        public virtual async Task<bool> DeleteAll()
+        public virtual async Task<bool> UpdateSortCode(long ID, int SortCode)
         {
-            var bol = await _cal.DeleteAll();
+            var bol = await _cal.UpdateSortCode(ID, SortCode);
             return bol;
         }
+
+        /// <summary>
+        /// 鎵归噺鏇存柊鎺掑簭鐮�
+        /// </summary>
+        public virtual async Task<bool> UpdateSorter(List<Yw.Vmo.Sorter> Sorters)
+        {
+            var dtoList = Sorters.ToDtoList();
+            var bol = await _cal.UpdateSorter(dtoList);
+            return bol;
+        }
+
+        /// <summary>
+        /// 鏇存柊鏍戞帓搴忕爜
+        /// </summary>
+        public virtual async Task<bool> UpdateTreeSortCode(long ID, long ParentID, int SortCode)
+        {
+            var bol = await _cal.UpdateTreeSortCode(ID, ParentID, SortCode);
+            return bol;
+        }
+
+        /// <summary>
+        /// 鏇存柊 Flags
+        /// </summary>
+        public virtual async Task<bool> UpdateFlags(long ID, List<string> Flags)
+        {
+            return await _cal.UpdateFlags(ID, Flags);
+        }
+
+        /// <summary>
+        /// 鏇存柊 Paras
+        /// </summary>
+        public virtual async Task<bool> UpdateParas(long ID, Dictionary<string, string> Paras)
+        {
+            return await _cal.UpdateParas(ID, Paras);
+        }
+
+        /// <summary>
+        /// 鏇存柊 TagName
+        /// </summary>
+        public virtual async Task<bool> UpdateTagName(long ID, string TagName)
+        {
+            return await _cal.UpdateTagName(ID, TagName);
+        }
+
+        #endregion Update
+
+        #region Exist
+
+        /// <summary>
+        /// 鍒ゆ柇 TagName 鏄惁瀛樺湪
+        /// </summary>
+        public virtual async Task<bool> IsExistTagName(string TagName)
+        {
+            return await _cal.IsExistTagName(TagName);
+        }
+
+        /// <summary>
+        /// 鍒ゆ柇TagName鏄惁瀛樺湪 ExceptID
+        /// </summary>
+        public virtual async Task<bool> IsExistTagNameExceptID(string TagName, long ExceptID)
+        {
+            return await _cal.IsExistTagNameExceptID(TagName, ExceptID);
+        }
+
+        #endregion Exist
+
+        #region Delete
 
         /// <summary>
         /// 閫氳繃 ID 鍒犻櫎
@@ -106,15 +168,6 @@
         public virtual async Task<bool> DeleteByID(long ID)
         {
             var bol = await _cal.DeleteByID(ID);
-            return bol;
-        }
-
-        /// <summary>
-        /// 閫氳繃 Ids 鍒犻櫎
-        /// </summary>
-        public virtual async Task<bool> DeleteByIds(List<long> Ids)
-        {
-            var bol = await _cal.DeleteByIds(Ids);
             return bol;
         }
 

--
Gitblit v1.9.3