This commit is contained in:
2025-09-30 13:32:35 +08:00
parent 2cba5bad4b
commit cd7f83a45c
29 changed files with 354 additions and 353 deletions
@@ -164,7 +164,7 @@ namespace BLL
{
return (from x in db.ProcessControl_InspectionManagementDetail
join y in db.ProcessControl_InspectionManagement on x.InspectionId equals y.InspectionId
where x.InspectionId == InspectionId && y.IsOnceQualified == true
where x.InspectionId == InspectionId && (y.IsOnceQualified == null || y.IsOnceQualified == true)
select x).ToList();
}
}
@@ -174,7 +174,7 @@ namespace BLL
{
return (from x in db.ProcessControl_InspectionManagementDetail
join y in db.ProcessControl_InspectionManagement on x.InspectionId equals y.InspectionId
where x.InspectionId == InspectionId && y.IsOnceQualified == true
where x.InspectionId == InspectionId && (y.IsOnceQualified == null || y.IsOnceQualified == true)
select x).ToList();
}
}