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
+3 -2
View File
@@ -10,7 +10,7 @@ namespace BLL
{
public class CheckEquipmentService
{
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 记录数
@@ -24,7 +24,7 @@ namespace BLL
/// <summary>
/// 定义变量
/// </summary>
private static IQueryable<Model.Check_CheckEquipment> qq = from x in db.Check_CheckEquipment orderby x.CompileDate descending select x;
private static IQueryable<Model.Check_CheckEquipment> qq = from x in Funs.DB.Check_CheckEquipment orderby x.CompileDate descending select x;
/// <summary>
/// 获取分页列表
@@ -34,6 +34,7 @@ namespace BLL
/// <returns></returns>
public static IEnumerable getListData(string projectId, string userId, string roleId, int startRowIndex, int maximumRows)
{
Model.CNPCDB db = Funs.DB;
IQueryable<Model.Check_CheckEquipment> q = qq;
if (!string.IsNullOrEmpty(projectId))
{