20240124安全风险取值上报集团接口方法修改

This commit is contained in:
2024-01-24 15:56:52 +08:00
parent ff0cc67d87
commit 6b5fb3a865
7 changed files with 55 additions and 39 deletions
@@ -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;