From 0a430c14f3e3ceb4ba63462c4f2c92768fc79e87 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期三, 12 三月 2025 19:04:26 +0800 Subject: [PATCH] 美型 --- 项目代码/WIDESEAWCS_Server 正式/SerialPortService/NJCommandsServer .cs | 9 +++++++++ 1 files changed, 9 insertions(+), 0 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/NJCommandsServer .cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/SerialPortService/NJCommandsServer .cs" index e9b1ef1..8ed2b00 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/SerialPortService/NJCommandsServer .cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/SerialPortService/NJCommandsServer .cs" @@ -4,6 +4,7 @@ using System.Text; using System.Threading.Tasks; using WIDESEA_ISerialPortRepository; +using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_ITaskInfoService; using WIDESEAWCS_Model.Models; @@ -15,5 +16,13 @@ public NJCommandsServer(INJCommandsRepository BaseDal) : base(BaseDal) { } + public override PageGridData<Dt_NJCommands> GetPageData(PageDataOptions options) + { + OrderByParameters = new Dictionary<string, SqlSugar.OrderByType> { + { + nameof(Dt_NJCommands.ID),SqlSugar.OrderByType.Asc + } }; + return base.GetPageData(options); + } } } -- Gitblit v1.9.3