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
@@ -23,7 +23,7 @@ namespace BLL
/// <summary>
/// 定义变量
/// </summary>
public static IQueryable<Model.Check_CheckMonth> qq = from x in Funs.DB.Check_CheckMonth orderby x.Months descending select x;
//public static IQueryable<Model.Check_CheckMonth> qq = from x in Funs.DB.Check_CheckMonth orderby x.Months descending select x;
/// <summary>
/// 获取分页列表
@@ -36,7 +36,7 @@ namespace BLL
public static IEnumerable GetListData(string projectId, int startRowIndex, int maximumRows)
{
Model.SGGLDB db = Funs.DB;
IQueryable<Model.Check_CheckMonth> q = qq;
IQueryable<Model.Check_CheckMonth> q = from x in Funs.DB.Check_CheckMonth orderby x.Months descending select x;
if (!string.IsNullOrEmpty(projectId))
{
q = q.Where(e => e.ProjectId == projectId);