yanjinhui
2025-03-12 0a430c14f3e3ceb4ba63462c4f2c92768fc79e87
项目代码/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);
        }
    }
}