From ec3daa05f122738f18d4474b9257e4cf794dc5cf Mon Sep 17 00:00:00 2001
From: Admin <Admin@ADMIN>
Date: 星期五, 06 三月 2026 10:36:01 +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