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.BS_Welder> qq = from x in Funs.DB.BS_Welder orderby x.WED_Unit, x.WED_Code select x;
// public static IQueryable<Model.BS_Welder> qq = from x in Funs.DB.BS_Welder orderby x.WED_Unit, x.WED_Code select x;
/// <summary>
/// 获取分页列表
@@ -39,7 +39,7 @@ namespace BLL
public static IEnumerable getListData(string project, string drpUnitS, string isOnGuard, string txtCodeS, string txtNameS, string txtWorkCodeS, string txtClassS, int startRowIndex, int maximumRows)
{
Model.SGGLDB db = Funs.DB;
IQueryable<Model.BS_Welder> q = qq;
IQueryable<Model.BS_Welder> q = from x in Funs.DB.BS_Welder orderby x.WED_Unit, x.WED_Code select x;
if (!string.IsNullOrEmpty(project))
{
q = q.Where(e => e.ProjectId == project);