From 5ffc36a1db18d3112a9b50a9cf3953d7fcf21bae Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期二, 19 八月 2025 16:37:24 +0800 Subject: [PATCH] 更新 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Services/Sys_ConfigService.cs | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Services/Sys_ConfigService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Services/Sys_ConfigService.cs" index 689d19e..2fca6b7 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Services/Sys_ConfigService.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Services/Sys_ConfigService.cs" @@ -10,6 +10,8 @@ using WIDESEA_IRepository; using WIDESEA_Core.BaseRepository; using System.Net; +using AngleSharp.Dom; +using SqlSugar; namespace WIDESEA_Services { @@ -39,5 +41,17 @@ { return BaseDal.QueryData(x => x.Category == category && x.ConfigKey == configKey).FirstOrDefault(); } + + public virtual PageGridData<Sys_Config> GetPageData(PageDataOptions options) + { + string wheres = "(Category = 'SYS_Parameters')"; + //鑾峰彇鎺掑簭瀛楁 + Dictionary<string, OrderByType> orderbyDic = options.GetPageDataSort(TProperties); + + PageGridData<Sys_Config> pageGridData = new PageGridData<Sys_Config>(); + pageGridData = BaseDal.QueryPage(wheres, options.Page, options.Rows, orderbyDic); + + return pageGridData; + } } } \ No newline at end of file -- Gitblit v1.9.3