From d41acebbd89f171b0eeb205fca4f68043ca85f95 Mon Sep 17 00:00:00 2001
From: Admin <Admin@ADMIN>
Date: 星期三, 03 十二月 2025 19:47: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