This commit is contained in:
2026-04-08 14:03:39 +08:00
parent 7ecbc2ebc0
commit 4a1b636ce0
353 changed files with 1378 additions and 500 deletions
@@ -12,7 +12,7 @@ namespace BLL
/// </summary>
public static class Check_ProjectLeaderCheckService
{
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 根据主键获取领导带班检查
@@ -37,7 +37,7 @@ namespace BLL
/// <summary>
/// 定义变量
/// </summary>
private static IQueryable<Model.Check_ProjectLeaderCheck> getDataLists = from x in db.Check_ProjectLeaderCheck
private static IQueryable<Model.Check_ProjectLeaderCheck> getDataLists = from x in Funs.DB.Check_ProjectLeaderCheck
select x;
/// <summary>
@@ -48,6 +48,7 @@ namespace BLL
/// <returns></returns>
public static IEnumerable getListData(string projectId, string startTime, string endTime, Grid Grid1)
{
Model.CNPCDB db = Funs.DB;
IQueryable<Model.Check_ProjectLeaderCheck> getDataList = getDataLists;
if (!string.IsNullOrEmpty(projectId))
{