This commit is contained in:
2026-04-24 17:17:29 +08:00
parent c2eeffa0de
commit 10c378338a
21 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ namespace BLL
/// <summary>
/// 定义变量
/// </summary>
public static IQueryable<Model.Base_InspectionArea> qq = from x in Funs.DB.Base_InspectionArea orderby x.InspectionAreaCode select x;
//public static IQueryable<Model.Base_InspectionArea> qq = from x in Funs.DB.Base_InspectionArea orderby x.InspectionAreaCode select x;
/// <summary>
/// 获取分页列表
@@ -37,7 +37,7 @@ namespace BLL
/// <returns></returns>
public static IEnumerable GetListData(string inspectionAreaName, int startRowIndex, int maximumRows)
{
IQueryable<Model.Base_InspectionArea> q = qq;
IQueryable<Model.Base_InspectionArea> q = from x in Funs.DB.Base_InspectionArea orderby x.InspectionAreaCode select x;
if (!string.IsNullOrEmpty(inspectionAreaName))
{
q = q.Where(e => e.InspectionAreaName.Contains(inspectionAreaName));