20240102安全风险数据修正及上报集团方法调整
This commit is contained in:
@@ -598,7 +598,7 @@ namespace FineUIPro.Web.common
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where y.RiskLevel == 2 && x.IsStart == true
|
||||
where y.RiskLevel == 2 && (x.IsStart == true || x.State == "1")
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
@@ -611,7 +611,7 @@ namespace FineUIPro.Web.common
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where y.RiskLevel == 1 && x.IsStart == true
|
||||
where y.RiskLevel == 1 && (x.IsStart == true || x.State == "1")
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
@@ -624,7 +624,7 @@ namespace FineUIPro.Web.common
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where y.RiskLevel == 3 && x.IsStart == true
|
||||
where y.RiskLevel == 3 && (x.IsStart == true || x.State == "1")
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
@@ -637,7 +637,7 @@ namespace FineUIPro.Web.common
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where y.RiskLevel == 4 && x.IsStart == true
|
||||
where y.RiskLevel == 4 && (x.IsStart == true || x.State == "1")
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user