1
This commit is contained in:
@@ -11,7 +11,7 @@ namespace BLL
|
||||
{
|
||||
public class PersonManageService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 记录数
|
||||
@@ -26,7 +26,7 @@ namespace BLL
|
||||
/// <summary>
|
||||
/// 定义变量
|
||||
/// </summary>
|
||||
public static IQueryable<Model.BS_Welder> qq = from x in 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>
|
||||
/// 获取分页列表
|
||||
@@ -38,6 +38,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string project, string drpUnitS, string isOnGuard, string txtCodeS, string txtNameS, string txtWorkCodeS, string txtClassS, int startRowIndex, int maximumRows)
|
||||
{
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
IQueryable<Model.BS_Welder> q = qq;
|
||||
if (!string.IsNullOrEmpty(project))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user