From 45045dab394abe534fa5221a1e09a90c1eebf835 Mon Sep 17 00:00:00 2001
From: qiuyao <qiuyao@hnkhzn.com>
Date: 星期一, 24 三月 2025 10:29:21 +0800
Subject: [PATCH] 更新通讯源码

---
 项目代码/WIDESEAWCS_Server 正式/SerialPortService/ToolsServer.cs |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/SerialPortService/ToolsServer.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/SerialPortService/ToolsServer.cs"
index 8a9fcb0..34e69d6 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/SerialPortService/ToolsServer.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/SerialPortService/ToolsServer.cs"
@@ -4,10 +4,11 @@
 using System.Text;
 using System.Threading.Tasks;
 using WIDESEA_ISerialPortRepository;
+using WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseServices;
 using WIDESEAWCS_ITaskInfoService;
 using WIDESEAWCS_Model.Models;
-using WIDESEAWCS_Model.Models.SerialPort;
+
 
 namespace WIDESEAWCS_TaskInfoService
 {
@@ -17,5 +18,14 @@
         {
 
         }
+
+        public override PageGridData<Dt_Tools> GetPageData(PageDataOptions options)
+        {
+            OrderByParameters = new Dictionary<string, SqlSugar.OrderByType> {
+                {
+                    nameof(Dt_Tools.ID),SqlSugar.OrderByType.Asc
+                } };
+            return base.GetPageData(options);
+        }
     }
 }

--
Gitblit v1.9.3