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 InspectionManagementService
{
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 记录数
@@ -36,6 +36,7 @@ namespace BLL
/// <returns></returns>
public static IEnumerable GetListData(string projectId, string UnitWorkId, string cNProfessionalId, string startDate, string endDate, int startRowIndex, int maximumRows)
{
Model.CNPCDB db = Funs.DB;
IQueryable<Model.ProcessControl_InspectionManagement> q = from x in db.ProcessControl_InspectionManagement
where x.ProjectId == projectId && x.FileType == null
orderby x.InspectionDate descending
@@ -80,6 +81,7 @@ namespace BLL
}
public static IEnumerable GetListDataForDataType(string controlPointType, string projectId, string UnitWorkId, string cNProfessionalId, string startDate, string endDate, int startRowIndex, int maximumRows)
{
Model.CNPCDB db = Funs.DB;
IQueryable<Model.ProcessControl_InspectionManagement> q = from x in db.ProcessControl_InspectionManagement
where x.ProjectId == projectId && x.FileType == null
orderby x.InspectionDate descending