20240102安全风险提交方法调整,数据修正
This commit is contained in:
@@ -1355,7 +1355,7 @@ namespace BLL
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where x.ProjectId == projectid && y.RiskLevel == 2 && x.IsStart == true
|
||||
where x.ProjectId == projectid && y.RiskLevel == 2
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
@@ -1368,7 +1368,7 @@ namespace BLL
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where x.ProjectId == projectid && y.RiskLevel == 1 && x.IsStart == true
|
||||
where x.ProjectId == projectid && y.RiskLevel == 1
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
@@ -1381,7 +1381,7 @@ namespace BLL
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where x.ProjectId == projectid && y.RiskLevel == 3 && x.IsStart == true
|
||||
where x.ProjectId == projectid && y.RiskLevel == 3
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
@@ -1394,7 +1394,7 @@ namespace BLL
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where x.ProjectId == projectid && y.RiskLevel == 4 && x.IsStart == true
|
||||
where x.ProjectId == projectid && y.RiskLevel == 4
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user