11
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user