1
This commit is contained in:
@@ -411,7 +411,7 @@ namespace FineUIPro.Web.common
|
||||
// BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(
|
||||
// null, null, DateTime.Parse("2001-01-01"), DateTime.Now, true);
|
||||
var num2 = (from x in Funs.DB.ProcessControl_InspectionManagement
|
||||
where (x.IsOnceQualified == null || x.IsOnceQualified == true)
|
||||
where x.IsOnceQualified == true
|
||||
select x).Count();
|
||||
result = num2;
|
||||
|
||||
@@ -425,7 +425,7 @@ namespace FineUIPro.Web.common
|
||||
int result = 0;
|
||||
|
||||
var num2 = (from x in Funs.DB.ProcessControl_InspectionManagement
|
||||
where (x.IsOnceQualified == null || x.IsOnceQualified == true) && pids.Contains(x.ProjectId)
|
||||
where x.IsOnceQualified == true && pids.Contains(x.ProjectId)
|
||||
select x).Count();
|
||||
result = num2;
|
||||
|
||||
@@ -873,7 +873,7 @@ namespace FineUIPro.Web.common
|
||||
where x.CNProfessionalId == item.ControlId
|
||||
select x).Count();
|
||||
num2 = (from x in Funs.DB.ProcessControl_InspectionManagement
|
||||
where x.CNProfessionalId == item.ControlId && (x.IsOnceQualified == null || x.IsOnceQualified == true)
|
||||
where x.CNProfessionalId == item.ControlId && x.IsOnceQualified == true
|
||||
select x).Count();
|
||||
}
|
||||
else
|
||||
@@ -882,7 +882,7 @@ namespace FineUIPro.Web.common
|
||||
where x.CNProfessionalId == item.ControlId && pids.Contains(x.ProjectId)
|
||||
select x).Count();
|
||||
num2 = (from x in Funs.DB.ProcessControl_InspectionManagement
|
||||
where x.CNProfessionalId == item.ControlId && (x.IsOnceQualified == null || x.IsOnceQualified == true) && pids.Contains(x.ProjectId)
|
||||
where x.CNProfessionalId == item.ControlId && x.IsOnceQualified == true && pids.Contains(x.ProjectId)
|
||||
select x).Count();
|
||||
}
|
||||
|
||||
@@ -927,7 +927,7 @@ namespace FineUIPro.Web.common
|
||||
where x.CNProfessionalId == item.CNProfessionalId
|
||||
select x).Count();
|
||||
num2 = (from x in Funs.DB.ProcessControl_InspectionManagement
|
||||
where x.CNProfessionalId == item.CNProfessionalId && (x.IsOnceQualified == null || x.IsOnceQualified == true)
|
||||
where x.CNProfessionalId == item.CNProfessionalId && x.IsOnceQualified == true
|
||||
select x).Count();
|
||||
}
|
||||
else
|
||||
@@ -936,7 +936,7 @@ namespace FineUIPro.Web.common
|
||||
where x.CNProfessionalId == item.CNProfessionalId && pids.Contains(x.ProjectId)
|
||||
select x).Count();
|
||||
num2 = (from x in Funs.DB.ProcessControl_InspectionManagement
|
||||
where x.CNProfessionalId == item.CNProfessionalId && (x.IsOnceQualified == null || x.IsOnceQualified == true) && pids.Contains(x.ProjectId)
|
||||
where x.CNProfessionalId == item.CNProfessionalId && x.IsOnceQualified == true && pids.Contains(x.ProjectId)
|
||||
select x).Count();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user