20240124安全风险取值上报集团接口方法修改
This commit is contained in:
@@ -235,7 +235,7 @@ namespace FineUIPro.Web.DataShow
|
||||
count = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Hazard_HazardList on x.HazardListId equals y.HazardListId
|
||||
where y.ProjectId == projectId && (x.HazardLevel == getlevel.RiskLevelId || x.HazardLevel == level.ToString()) && y.States == Const.State_2
|
||||
|
||||
&& y.CompileDate.Value.Year >= 2023
|
||||
select x).Count();
|
||||
}
|
||||
else
|
||||
@@ -243,6 +243,7 @@ namespace FineUIPro.Web.DataShow
|
||||
count = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Hazard_HazardList on x.HazardListId equals y.HazardListId
|
||||
where y.ProjectId == projectId && x.HazardLevel == level.ToString() && y.States == Const.State_2
|
||||
&& y.CompileDate.Value.Year >= 2023
|
||||
select x).Count();
|
||||
}
|
||||
return count;
|
||||
|
||||
Reference in New Issue
Block a user