1
This commit is contained in:
@@ -10,7 +10,7 @@ namespace BLL
|
||||
{
|
||||
public class ConstructionLogNewService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
#region 获取人员列表信息
|
||||
/// <summary>
|
||||
@@ -25,7 +25,7 @@ namespace BLL
|
||||
/// <summary>
|
||||
/// 定义变量
|
||||
/// </summary>
|
||||
private static IQueryable<Model.InformationProject_ConstructionLog> getDataLists = from x in db.InformationProject_ConstructionLog
|
||||
private static IQueryable<Model.InformationProject_ConstructionLog> getDataLists = from x in Funs.DB.InformationProject_ConstructionLog
|
||||
select x;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BLL
|
||||
{
|
||||
public class PersonStarLevelService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设置人员星级
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BLL
|
||||
{
|
||||
public class ProjectConstructionLogService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
#region 获取人员列表信息
|
||||
/// <summary>
|
||||
@@ -24,7 +24,7 @@ namespace BLL
|
||||
/// <summary>
|
||||
/// 定义变量
|
||||
/// </summary>
|
||||
private static IQueryable<Model.InformationProject_ConstructionLog> getDataLists = from x in db.InformationProject_ConstructionLog
|
||||
private static IQueryable<Model.InformationProject_ConstructionLog> getDataLists = from x in Funs.DB.InformationProject_ConstructionLog
|
||||
select x;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BLL
|
||||
{
|
||||
public class ProjectPersonStarService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
#region 劳务人员列表
|
||||
/// <summary>
|
||||
@@ -40,6 +40,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string projetcId, string unitId, string name, string idCard, string states, Grid Grid1)
|
||||
{
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
IQueryable<Model.View_SitePerson_Person> getDataList = getDataLists;
|
||||
if (!string.IsNullOrEmpty(projetcId) && projetcId != Const._Null)
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace BLL
|
||||
{
|
||||
public class StarLevelService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取五星级别
|
||||
|
||||
Reference in New Issue
Block a user