From 447db93f9bcd7d2f27857c50d97f98df35de1b15 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Mon, 24 Nov 2025 09:36:28 +0800 Subject: [PATCH] =?UTF-8?q?1=E9=A1=B9=E7=9B=AE=E5=AE=89=E5=85=A8=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF=EF=BC=8C=E5=AE=89=E5=85=A8=E6=A3=80=E6=9F=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E7=BB=9F=E8=AE=A1=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.cs b/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.cs index fd948750..91e5464f 100644 --- a/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.cs +++ b/SGGL/FineUIPro.Web/common/mainMenu_HSSE.aspx.cs @@ -169,7 +169,7 @@ namespace FineUIPro.Web { listCategories.Add(getunits.ShortUnitName ?? getunits.UnitCode); var unitHazardRegisters = getHazardRegisterLists.Where(x => x.ResponsibleUnit == getunits.UnitId); - var noW = unitHazardRegisters.Where(x => x.States != "3"); + //var noW = unitHazardRegisters.Where(x => x.States != "3"); //listdata.Add(unitHazardRegisters.Count() - noW.Count()); //listdata2.Add(unitHazardRegisters.Count()); @@ -186,7 +186,7 @@ namespace FineUIPro.Web { listCategories.Add(unit.ShortUnitName ?? unit.UnitCode); var unitHazardRegisters = getHazardRegisterLists.Where(x => x.ResponsibleUnit == unit.UnitId); - var noW = unitHazardRegisters.Where(x => x.States != "3"); + //var noW = unitHazardRegisters.Where(x => x.States != "3"); //listdata.Add(unitHazardRegisters.Count() - noW.Count()); //listdata2.Add(unitHazardRegisters.Count()); listdata.Add(unitHazardRegisters.Where(x => x.States == "1").Count()); @@ -224,8 +224,9 @@ namespace FineUIPro.Web { listCategories.Add(item.RegisterTypesName); var unitHazardRegisters = getHazardRegisterLists.Where(x => x.RegisterTypesId == item.RegisterTypesId); - var noW = unitHazardRegisters.Where(x => x.States != "3"); - listdata.Add(unitHazardRegisters.Count() - noW.Count()); + //var noW = unitHazardRegisters.Where(x => x.States != "3"); + //listdata.Add(unitHazardRegisters.Count() - noW.Count()); + listdata.Add(unitHazardRegisters.Where(x => x.States == "1").Count()); listdata2.Add(unitHazardRegisters.Count()); }