From ff4467ea724a830fc36a641449637c36afaa9e6e Mon Sep 17 00:00:00 2001 From: 15036302109 Date: Wed, 27 Mar 2024 09:22:10 +0800 Subject: [PATCH] =?UTF-8?q?1.=E9=A3=8E=E9=99=A9=E7=AE=A1=E7=90=86=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E4=BC=98=E5=8C=96=202.=E9=9A=90=E6=82=A3=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=9F=E8=AE=A1=E5=88=86=E6=9E=90=EF=BC=9A=E9=9A=90?= =?UTF-8?q?=E6=82=A3=E6=95=B4=E6=94=B9=E8=BF=9B=E5=BA=A6=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E4=B8=8D=E6=AD=A3=E7=A1=AE=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/ehs/EhsIndexStatisticsMapper.xml | 2 +- ruoyi-ui/src/views/ehs/ehsRisk/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/ehs/EhsIndexStatisticsMapper.xml b/ruoyi-system/src/main/resources/mapper/ehs/EhsIndexStatisticsMapper.xml index 8499f6f..3192620 100644 --- a/ruoyi-system/src/main/resources/mapper/ehs/EhsIndexStatisticsMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/ehs/EhsIndexStatisticsMapper.xml @@ -236,7 +236,7 @@ SELECT resultType="map"> SELECT ifnull(d.dict_label,'未知') 'name', - count( 1 ) 'value' + SUM(IFNULL(e.hd_count,0)) 'value' FROM ehs_hidden_danger e LEFT JOIN sys_dict_data d ON e.status = d.dict_value diff --git a/ruoyi-ui/src/views/ehs/ehsRisk/index.vue b/ruoyi-ui/src/views/ehs/ehsRisk/index.vue index 69d8f3f..ee5e849 100644 --- a/ruoyi-ui/src/views/ehs/ehsRisk/index.vue +++ b/ruoyi-ui/src/views/ehs/ehsRisk/index.vue @@ -237,7 +237,7 @@ - +