yanjinhui
2025-03-17 b8510ca5d1e56ef78cd27c45b6bd65a2c13f6b27
项目代码/WIDESEAWCS_Server 正式/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);
        }
    }
}