yanjinhui
2025-03-17 b8510ca5d1e56ef78cd27c45b6bd65a2c13f6b27
ÏîÄ¿´úÂë/WIDESEAWCS_Server Õýʽ/SerialPortService/LoginHistoryServer.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;
@@ -16,5 +17,13 @@
        {
        }
        public override PageGridData<Dt_LoginHistory> GetPageData(PageDataOptions options)
        {
            OrderByParameters = new Dictionary<string, SqlSugar.OrderByType> {
                {
                    nameof(Dt_LoginHistory.CreateDate),SqlSugar.OrderByType.Desc//按时间降序排列
                } };
            return base.GetPageData(options);
        }
    }
}