| | |
| | | using WIDESEA_IRepository; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using System.Net; |
| | | using AngleSharp.Dom; |
| | | using SqlSugar; |
| | | |
| | | namespace WIDESEA_Services |
| | | { |
| | |
| | | { |
| | | 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; |
| | | } |
| | | } |
| | | } |